T
- The root object type from which the target object will be
extracted.ognl.PropertyAccessor
public class NestedObjectDelegatePropertyAccessor<T>
extends java.lang.Object
implements ognl.PropertyAccessor
PropertyAccessor
as a delegate, but passing a nested object as
target.Constructor | Description |
---|---|
NestedObjectDelegatePropertyAccessor(NestedObjectExtractor<T> nestedObjectExtractor,
ognl.PropertyAccessor propertyAccessor) |
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 NestedObjectDelegatePropertyAccessor(NestedObjectExtractor<T> nestedObjectExtractor, ognl.PropertyAccessor propertyAccessor)
nestedObjectExtractor
- The extractor of the nested object.propertyAccessor
- The delegated property accessor.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.