|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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 Summary | |
ExpressionEvaluator(javax.servlet.jsp.tagext.Tag sourceTag,
javax.servlet.jsp.PageContext context)
Creates a new ExpressionEvaluator for the given tag and pagecontext. |
|
| Method Summary | |
java.lang.Object |
eval(java.lang.String attrName,
java.lang.String attrValue,
java.lang.Class returnClass)
Evaluate expression in attrValue. |
boolean |
evalBoolean(java.lang.String attrName,
java.lang.String attrValue)
Evaluate expression in attrValueas as a boolean. |
int |
evalInt(java.lang.String attrName,
java.lang.String attrValue)
Evaluate expression in attrValueas as a int. |
long |
evalLong(java.lang.String attrName,
java.lang.String attrValue)
Evaluate expression in attrValueas as a long. |
java.lang.String |
evalString(java.lang.String attrName,
java.lang.String attrValue)
Evaluate expression in attrValueas as a String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExpressionEvaluator(javax.servlet.jsp.tagext.Tag sourceTag,
javax.servlet.jsp.PageContext context)
sourceTag - tag where the expression has to be evaluatedcontext - the page context| Method Detail |
public java.lang.Object eval(java.lang.String attrName,
java.lang.String attrValue,
java.lang.Class returnClass)
throws javax.servlet.jsp.JspException
attrName - attribute nameattrValue - attribute valuereturnClass - class the returned object is instance of
javax.servlet.jsp.JspException - exception thrown by ExpressionEvaluatorManager
public java.lang.String evalString(java.lang.String attrName,
java.lang.String attrValue)
throws javax.servlet.jsp.JspException
attrName - attribute nameattrValue - attribute value
javax.servlet.jsp.JspException - exception thrown by ExpressionEvaluatorManager
public boolean evalBoolean(java.lang.String attrName,
java.lang.String attrValue)
throws javax.servlet.jsp.JspException
attrName - attribute nameattrValue - attribute value
javax.servlet.jsp.JspException - exception thrown by ExpressionEvaluatorManager
public long evalLong(java.lang.String attrName,
java.lang.String attrValue)
throws javax.servlet.jsp.JspException
attrName - attribute nameattrValue - attribute value
javax.servlet.jsp.JspException - exception thrown by ExpressionEvaluatorManager
public int evalInt(java.lang.String attrName,
java.lang.String attrValue)
throws javax.servlet.jsp.JspException
attrName - attribute nameattrValue - attribute value
javax.servlet.jsp.JspException - exception thrown by ExpressionEvaluatorManager
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||