Package org.apache.tiles.ognl
Class DelegatePropertyAccessor<T>
java.lang.Object
org.apache.tiles.ognl.DelegatePropertyAccessor<T>
- Type Parameters:
T- The type of the accessed root object.
- All Implemented Interfaces:
ognl.PropertyAccessor
Uses a
PropertyAccessorDelegateFactory to delegate the methods to
another PropertyAccessor.- Since:
- 2.2.0
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor. -
Method Summary
Modifier and TypeMethodDescriptiongetProperty(Map context, Object target, Object name) getSourceAccessor(ognl.OgnlContext context, Object target, Object index) getSourceSetter(ognl.OgnlContext context, Object target, Object index) voidsetProperty(Map context, Object target, Object name, Object value)
-
Constructor Details
-
DelegatePropertyAccessor
Constructor.- Parameters:
factory- The property accessor factory.- Since:
- 2.2.0
-
-
Method Details
-
getProperty
- Specified by:
getPropertyin interfaceognl.PropertyAccessor- Throws:
ognl.OgnlException
-
setProperty
public void setProperty(Map context, Object target, Object name, Object value) throws ognl.OgnlException - Specified by:
setPropertyin interfaceognl.PropertyAccessor- Throws:
ognl.OgnlException
-
getSourceAccessor
- Specified by:
getSourceAccessorin interfaceognl.PropertyAccessor
-
getSourceSetter
- Specified by:
getSourceSetterin interfaceognl.PropertyAccessor
-