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.PropertyAccessor
ognl.OgnlException
public void setProperty(Map context, Object target, Object name, Object value) throws ognl.OgnlException
setProperty
in interface ognl.PropertyAccessor
ognl.OgnlException
public String getSourceAccessor(ognl.OgnlContext context, Object target, Object index)
getSourceAccessor
in interface ognl.PropertyAccessor
Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.