This project has retired. For details please refer to its Attic page.
AbstractAttributeEvaluator (Tiles 2 2.2.2 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, MVELAttributeEvaluator, OGNLAttributeEvaluator

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.getExpressionObject().

Since:
2.1.2
Version:
$Rev: 788032 $ $Date: 2009-06-24 16:08:32 +0200 (mer, 24 giu 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-2010 Apache Software Foundation. All Rights Reserved.