package.html :  » Ajax » aribaweb » ariba » util » fieldvalue » Java Open Source

Java Open Source » Ajax » aribaweb 
aribaweb » ariba » util » fieldvalue » package.html
<BODY>

The core property access mechanism used by AribaWeb bindings and the Expr
expression language.  FieldValue provides a uniform Map-like (get/set) interface to
objects of various sorts (POJOs, Maps, scriptable objects, ...).  {@link ariba.util.fieldvalue FieldValue}
is implemented as a {@link ariba.util.core.ClassExtension}, meaning that implementation of the FieldValue
abstraction can be done outside of the target classes, thereby allowing implementations
on existing core Java classes (Object, Map, etc).
<p/>
FieldValue provides optimized access for <i>field paths</i> (e.g. "employee.manager.name")
via the {@link ariba.util.fieldvalue.FieldPath} class.  FieldPaths are pre-parsed and
cache the {@link ariba.util.fieldvalue.FieldValueAccessor} to which they last (dynamically)
resolved, thereby avoiding future lookup/reflection on repeated use.

</BODY>
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.