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

org.apache.tiles.evaluator
Interface AttributeEvaluator

Package class diagram package AttributeEvaluator
All Known Implementing Classes:
AbstractAttributeEvaluator, DirectAttributeEvaluator, ELAttributeEvaluator

public interface AttributeEvaluator

It represents an object that resolves a string to return an object.

Since:
2.1.0
Version:
$Rev: 644022 $ $Date: 2008-04-02 21:46:59 +0200 (mer, 02 apr 2008) $

Method Summary
 Object evaluate(Attribute attribute, TilesRequestContext request)
          Evaluates an attribute value.
 Object evaluate(String expression, TilesRequestContext request)
          Evaluates an expression.
 void init(Map<String,String> initParameters)
          Initializes the attribute evaluator.
 

Method Detail

init

void init(Map<String,String> initParameters)
Initializes the attribute evaluator.

Parameters:
initParameters - The initialization parameters.
Since:
2.1.0

evaluate

Object evaluate(String expression,
                TilesRequestContext request)
Evaluates an expression.

Parameters:
expression - The expression to evaluate.
request - The request object.
Returns:
The evaluated object.
Since:
2.1.0

evaluate

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

Parameters:
attribute - The attribute to evaluate.
request - The request object.
Returns:
The evaluated object.
Since:
2.1.0


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