PropertyAccessor
public class SetPropertyAccessor extends ObjectPropertyAccessor implements PropertyAccessor
Constructor | Description |
---|---|
SetPropertyAccessor() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
getProperty(java.util.Map context,
java.lang.Object target,
java.lang.Object name) |
Extracts and returns the property of the given name from the given target object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPossibleProperty, getPropertyClass, getSourceAccessor, getSourceSetter, hasGetProperty, hasGetProperty, hasSetProperty, hasSetProperty, setPossibleProperty, setProperty
getSourceAccessor, getSourceSetter, setProperty
public java.lang.Object getProperty(java.util.Map context, java.lang.Object target, java.lang.Object name) throws OgnlException
PropertyAccessor
getProperty
in interface PropertyAccessor
getProperty
in class ObjectPropertyAccessor
context
- The current execution context.target
- the object to get the property fromname
- the name of the property to get.OgnlException
- if there is an error locating the property in the given object