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) void
setProperty
(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:
getProperty
in interfaceognl.PropertyAccessor
- Throws:
ognl.OgnlException
-
setProperty
public void setProperty(Map context, Object target, Object name, Object value) throws ognl.OgnlException - Specified by:
setProperty
in interfaceognl.PropertyAccessor
- Throws:
ognl.OgnlException
-
getSourceAccessor
- Specified by:
getSourceAccessor
in interfaceognl.PropertyAccessor
-
getSourceSetter
- Specified by:
getSourceSetter
in interfaceognl.PropertyAccessor
-