Home » displaytag-1.1.1-src » org » displaytag » tags » el » [javadoc | source]
org.displaytag.tags.el
public class: ExpressionEvaluator [javadoc | source]
java.lang.Object
   org.displaytag.tags.el.ExpressionEvaluator
Utility class to help with the evaluation of JSTL Expression Language. It mainly encapsulates the calls to ExpressionEvaluationManager to ease the use of this class.
Constructor:
 public ExpressionEvaluator(Tag sourceTag,
    PageContext context) 
    Creates a new ExpressionEvaluator for the given tag and pagecontext.
    Parameters:
    sourceTag - tag where the expression has to be evaluated
    context - the page context
Method from org.displaytag.tags.el.ExpressionEvaluator Summary:
eval,   evalBoolean,   evalInt,   evalLong,   evalString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.displaytag.tags.el.ExpressionEvaluator Detail:
 public Object eval(String attrName,
    String attrValue,
    Class returnClass) throws JspException 
    Evaluate expression in attrValue.
 public boolean evalBoolean(String attrName,
    String attrValue) throws JspException 
    Evaluate expression in attrValueas as a boolean.
 public int evalInt(String attrName,
    String attrValue) throws JspException 
    Evaluate expression in attrValueas as a int.
 public long evalLong(String attrName,
    String attrValue) throws JspException 
    Evaluate expression in attrValueas as a long.
 public String evalString(String attrName,
    String attrValue) throws JspException 
    Evaluate expression in attrValueas as a String.