|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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,
PropertyAccessor propertyAccessor)
Constructor. |
Method Summary | |
---|---|
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)
|
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, PropertyAccessor propertyAccessor)
nestedObjectExtractor
- The extractor of the nested object.propertyAccessor
- The delegated property accessor.Method Detail |
---|
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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |