This project has retired. For details please refer to its Attic page.
AbstractAttributeEvaluator (Tiles 2 2.1.4 API)

org.apache.tiles.evaluator
Class AbstractAttributeEvaluator

Package class diagram package AbstractAttributeEvaluator
java.lang.Object
  extended by org.apache.tiles.evaluator.AbstractAttributeEvaluator
All Implemented Interfaces:
AttributeEvaluator
Direct Known Subclasses:
DirectAttributeEvaluator, ELAttributeEvaluator

public abstract class AbstractAttributeEvaluator
extends Object
implements AttributeEvaluator

Abstract class to link a correct evaluation of an attribute, by evaluating Attribute.getValue() and then Attribute.getExpression().

Since:
2.1.2
Version:
$Rev: 734389 $ $Date: 2009-01-14 14:38:06 +0100 (mer, 14 gen 2009) $

Constructor Summary
AbstractAttributeEvaluator()
           
 
Method Summary
 Object evaluate(Attribute attribute, TilesRequestContext request)
          Evaluates an attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.tiles.evaluator.AttributeEvaluator
evaluate, init
 

Constructor Detail

AbstractAttributeEvaluator

public AbstractAttributeEvaluator()
Method Detail

evaluate

public Object evaluate(Attribute attribute,
                       TilesRequestContext request)
Evaluates an attribute value.

Specified by:
evaluate in interface AttributeEvaluator
Parameters:
attribute - The attribute to evaluate.
request - The request object.
Returns:
The evaluated object.


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.