T
- The type of the accessed root object.ognl.PropertyAccessor
public class DelegatePropertyAccessor<T>
extends java.lang.Object
implements ognl.PropertyAccessor
PropertyAccessorDelegateFactory
to delegate the methods to
another PropertyAccessor
.Constructor | Description |
---|---|
DelegatePropertyAccessor(PropertyAccessorDelegateFactory<T> factory) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
getProperty(java.util.Map context,
java.lang.Object target,
java.lang.Object name) |
|
java.lang.String |
getSourceAccessor(ognl.OgnlContext context,
java.lang.Object target,
java.lang.Object index) |
|
java.lang.String |
getSourceSetter(ognl.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 ognl.OgnlException
getProperty
in interface ognl.PropertyAccessor
ognl.OgnlException
public void setProperty(java.util.Map context, java.lang.Object target, java.lang.Object name, java.lang.Object value) throws ognl.OgnlException
setProperty
in interface ognl.PropertyAccessor
ognl.OgnlException
public java.lang.String getSourceAccessor(ognl.OgnlContext context, java.lang.Object target, java.lang.Object index)
getSourceAccessor
in interface ognl.PropertyAccessor
public java.lang.String getSourceSetter(ognl.OgnlContext context, java.lang.Object target, java.lang.Object index)
getSourceSetter
in interface ognl.PropertyAccessor
Copyright © 2018. All rights reserved.