|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tiles.ognl.NestedObjectDelegatePropertyAccessor<T>
T
- The root object type from which the target object will be
extracted.public class NestedObjectDelegatePropertyAccessor<T>
Uses a PropertyAccessor
as a delegate, but passing a nested object as
target.
Constructor Summary | |
---|---|
NestedObjectDelegatePropertyAccessor(NestedObjectExtractor<T> nestedObjectExtractor,
ognl.PropertyAccessor propertyAccessor)
Constructor. |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NestedObjectDelegatePropertyAccessor(NestedObjectExtractor<T> nestedObjectExtractor, ognl.PropertyAccessor propertyAccessor)
nestedObjectExtractor
- The extractor of the nested object.propertyAccessor
- The delegated property accessor.Method Detail |
---|
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
public String getSourceSetter(ognl.OgnlContext context, Object target, Object index)
getSourceSetter
in interface ognl.PropertyAccessor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |