| java.lang.Object ognl.ObjectPropertyAccessor
All known Subclasses: ognl.IteratorPropertyAccessor, ognl.ArrayPropertyAccessor, ognl.EnumerationPropertyAccessor, ognl.SetPropertyAccessor, ognl.ListPropertyAccessor, org.ognl.test.CompilingPropertyAccessor,
ObjectPropertyAccessor | public class ObjectPropertyAccessor implements PropertyAccessor(Code) | | Implementation of PropertyAccessor that uses reflection on the target object's class to
find a field or a pair of set/get methods with the given property name.
author: Luke Blanshard (blanshlu@netscape.net) author: Drew Davidson (drew@ognl.org) |
Method Summary | |
public Object | getPossibleProperty(Map context, Object target, String name) Returns OgnlRuntime.NotFound if the property does not exist. | public Object | getProperty(Map context, Object target, Object oname) | public boolean | hasGetProperty(OgnlContext context, Object target, Object oname) | public boolean | hasGetProperty(Map context, Object target, Object oname) | public boolean | hasSetProperty(OgnlContext context, Object target, Object oname) | public boolean | hasSetProperty(Map context, Object target, Object oname) | public Object | setPossibleProperty(Map context, Object target, String name, Object value) Returns OgnlRuntime.NotFound if the property does not exist. | public void | setProperty(Map context, Object target, Object oname, Object value) |
|
|