org.apache.tiles.ognl
T
- The root object type from which the target object will be
extracted.public class NestedObjectDelegatePropertyAccessor<T> extends java.lang.Object
PropertyAccessor
as a delegate, but passing a nested object as
target.Constructor and Description |
---|
NestedObjectDelegatePropertyAccessor(NestedObjectExtractor<T> nestedObjectExtractor,
PropertyAccessor propertyAccessor)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getProperty(java.util.Map context,
java.lang.Object target,
java.lang.Object name) |
java.lang.String |
getSourceAccessor(OgnlContext context,
java.lang.Object target,
java.lang.Object index) |
java.lang.String |
getSourceSetter(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, 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 OgnlException
OgnlException
public void setProperty(java.util.Map context, java.lang.Object target, java.lang.Object name, java.lang.Object value) throws OgnlException
OgnlException
public java.lang.String getSourceAccessor(OgnlContext context, java.lang.Object target, java.lang.Object index)
public java.lang.String getSourceSetter(OgnlContext context, java.lang.Object target, java.lang.Object index)