T
- The type of the accessed root object.public class DelegatePropertyAccessor<T>
extends java.lang.Object
PropertyAccessorDelegateFactory
to delegate the methods to
another PropertyAccessor
.Constructor and Description |
---|
DelegatePropertyAccessor(PropertyAccessorDelegateFactory<T> factory)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getProperty(java.util.Map context,
java.lang.Object target,
java.lang.Object name) |
java.lang.String |
getSourceAccessor(OgnlContext context,
java.lang.Object target,
java.lang.Object index) |
java.lang.String |
getSourceSetter(OgnlContext context,
java.lang.Object target,
java.lang.Object index) |
void |
setProperty(java.util.Map context,
java.lang.Object target,
java.lang.Object name,
java.lang.Object value) |
public DelegatePropertyAccessor(PropertyAccessorDelegateFactory<T> factory)
factory
- The property accessor factory.public java.lang.Object getProperty(java.util.Map context, java.lang.Object target, java.lang.Object name) throws OgnlException
OgnlException
public void setProperty(java.util.Map context, java.lang.Object target, java.lang.Object name, java.lang.Object value) throws OgnlException
OgnlException
public java.lang.String getSourceAccessor(OgnlContext context, java.lang.Object target, java.lang.Object index)
public java.lang.String getSourceSetter(OgnlContext context, java.lang.Object target, java.lang.Object index)