T - The type of the accessed root object.public class DelegatePropertyAccessor<T> extends Object implements ognl.PropertyAccessor
PropertyAccessorDelegateFactory to delegate the methods to
another PropertyAccessor.| Constructor and Description |
|---|
DelegatePropertyAccessor(PropertyAccessorDelegateFactory<T> factory)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getProperty(Map context,
Object target,
Object name) |
String |
getSourceAccessor(ognl.OgnlContext context,
Object target,
Object index) |
String |
getSourceSetter(ognl.OgnlContext context,
Object target,
Object index) |
void |
setProperty(Map context,
Object target,
Object name,
Object value) |
public DelegatePropertyAccessor(PropertyAccessorDelegateFactory<T> factory)
factory - The property accessor factory.public Object getProperty(Map context, Object target, Object name) throws ognl.OgnlException
getProperty in interface ognl.PropertyAccessorognl.OgnlExceptionpublic void setProperty(Map context, Object target, Object name, Object value) throws ognl.OgnlException
setProperty in interface ognl.PropertyAccessorognl.OgnlExceptionpublic String getSourceAccessor(ognl.OgnlContext context, Object target, Object index)
getSourceAccessor in interface ognl.PropertyAccessorCopyright © 2000–2024 Apache Software Foundation. All rights reserved.