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