|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tiles.ognl.DelegatePropertyAccessor<T>
T
- The type of the accessed root object.public class DelegatePropertyAccessor<T>
Uses a PropertyAccessorDelegateFactory
to delegate the methods to
another PropertyAccessor
.
Constructor Summary | |
---|---|
DelegatePropertyAccessor(PropertyAccessorDelegateFactory<T> factory)
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 DelegatePropertyAccessor(PropertyAccessorDelegateFactory<T> factory)
factory
- The property accessor factory.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 |