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

org.apache.tiles.evaluator.impl
Class DirectAttributeEvaluator

Package class diagram package DirectAttributeEvaluator
java.lang.Object
  extended by org.apache.tiles.evaluator.AbstractAttributeEvaluator
      extended by org.apache.tiles.evaluator.impl.DirectAttributeEvaluator
All Implemented Interfaces:
AttributeEvaluator

public class DirectAttributeEvaluator
extends AbstractAttributeEvaluator

Resolves a string and returns the string itself. It is useful for backward compatibility.

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

Constructor Summary
DirectAttributeEvaluator()
           
 
Method Summary
 Object evaluate(String expression, TilesRequestContext request)
          Evaluates an expression.
 void init(Map<String,String> initParameters)
          Initializes the attribute evaluator.
 
Methods inherited from class org.apache.tiles.evaluator.AbstractAttributeEvaluator
evaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectAttributeEvaluator

public DirectAttributeEvaluator()
Method Detail

init

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

Parameters:
initParameters - The initialization parameters.

evaluate

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

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


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