T
- The type of the accessed root object.public class DelegatePropertyAccessor<T> extends Object implements org.apache.commons.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(org.apache.commons.ognl.OgnlContext context,
Object target,
Object index) |
String |
getSourceSetter(org.apache.commons.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 org.apache.commons.ognl.OgnlException
getProperty
in interface org.apache.commons.ognl.PropertyAccessor
org.apache.commons.ognl.OgnlException
public void setProperty(Map context, Object target, Object name, Object value) throws org.apache.commons.ognl.OgnlException
setProperty
in interface org.apache.commons.ognl.PropertyAccessor
org.apache.commons.ognl.OgnlException
public String getSourceAccessor(org.apache.commons.ognl.OgnlContext context, Object target, Object index)
getSourceAccessor
in interface org.apache.commons.ognl.PropertyAccessor
Copyright © 2017. All rights reserved.