Home » tiles-2.2.1-src » org.apache.tiles.el » [javadoc | source]
org.apache.tiles.el
public class: ELAttributeEvaluator [javadoc | source]
java.lang.Object
   org.apache.tiles.evaluator.AbstractAttributeEvaluator
      org.apache.tiles.el.ELAttributeEvaluator

All Implemented Interfaces:
    TilesApplicationContextAware, AttributeEvaluator

Direct Known Subclasses:
    ELAttributeEvaluator

Evaluates string expression with typical EL syntax.
You can use normal EL syntax, knowing that the root objects are TilesRequestContext , TilesApplicationContext and beans contained in request, session and application scope.
Field Summary
public static final  String EXPRESSION_FACTORY_FACTORY_INIT_PARAM    Initialization parameter to decide the implementation of ExpressionFactoryFactory .
    since: 2.2.1 -
 
protected  TilesApplicationContext applicationContext    The Tiles application context.
    since: 2.2.1 -
 
protected  ExpressionFactory expressionFactory    The EL expression factory.
    since: 2.2.1 -
 
protected  ELResolver resolver    The EL resolver to use.
    since: 2.2.1 -
 
Constructor:
 public ELAttributeEvaluator() 
Method from org.apache.tiles.el.ELAttributeEvaluator Summary:
evaluate,   init,   setApplicationContext,   setExpressionFactory,   setResolver
Methods from org.apache.tiles.evaluator.AbstractAttributeEvaluator:
evaluate
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tiles.el.ELAttributeEvaluator Detail:
 public Object evaluate(String expression,
    TilesRequestContext request) 
    {@inheritDoc}
 public  void init(Map<String, String> initParameters) 
    {@inheritDoc}
 public  void setApplicationContext(TilesApplicationContext applicationContext) 
    {@inheritDoc}
 public  void setExpressionFactory(ExpressionFactory expressionFactory) 
    Sets the expression factory to use.
 public  void setResolver(ELResolver resolver) 
    Sets the EL resolver to use.