org.makumba.list.engine
Class Evaluator

java.lang.Object
  extended by org.makumba.list.engine.Evaluator
All Implemented Interfaces:
ComposedQuery.Evaluator

public class Evaluator
extends Object
implements ComposedQuery.Evaluator

An evaluator using the EL engine to evaluate all occurences of #{...} in a string

Version:
$Id: Evaluator.java 5151 2010-05-18 19:07:27Z rosso_nero $
Author:
Cristian Bogdan

Field Summary
(package private)  PageContext pc
           
 
Constructor Summary
Evaluator(PageContext pc)
           
 
Method Summary
 String evaluate(String s)
          Evaluates the expression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pc

PageContext pc
Constructor Detail

Evaluator

public Evaluator(PageContext pc)
Method Detail

evaluate

public String evaluate(String s)
Description copied from interface: ComposedQuery.Evaluator
Evaluates the expression

Specified by:
evaluate in interface ComposedQuery.Evaluator
Parameters:
s - the expression to evaluate
Returns:
The transformed expression after evaluation