org.apache.tiles.ognl
Interface PropertyAccessorDelegateFactory<T>

Type Parameters:
T - The type of the root object to evaluate.
All Known Implementing Classes:
TilesContextPropertyAccessorDelegateFactory

public interface PropertyAccessorDelegateFactory<T>

Decides a PropertyAccessor depending on the property name and the object to evaluate.

Since:
2.2.0
Version:
$Rev: 817009 $ $Date: 2009-09-20 13:26:26 +0200 (dom, 20 set 2009) $

Method Summary
 PropertyAccessor getPropertyAccessor(java.lang.String propertyName, T obj)
          Returns a prooerty accessor appropriate for the property name and the object passed.
 

Method Detail

getPropertyAccessor

PropertyAccessor getPropertyAccessor(java.lang.String propertyName,
                                     T obj)
Returns a prooerty accessor appropriate for the property name and the object passed.

Parameters:
propertyName - The name of the property.
obj - The root object to evaluate.
Returns:
The appropriate property accessor.
Since:
2.2.0