|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.strutsel.taglib.utils.EvalHelper
public final class EvalHelper
This class is used in the evaluateExpressions
method of each
Tag class. It is used to process the original attribute value through the
JSTL EL engine to produce an evaluated value. It provides functions to
evaluate the expression assuming it is an Object, String, Integer, or
Boolean result.
Method Summary | |
---|---|
static Object |
eval(String attrName,
String attrValue,
Tag tagObject,
PageContext pageContext)
Evaluates the attribute value in the JSTL EL engine, returning the raw Object value of the evaluated expression. |
static Boolean |
evalBoolean(String attrName,
String attrValue,
Tag tagObject,
PageContext pageContext)
Evaluates the attribute value in the JSTL EL engine, assuming the resulting value is an Boolean object. |
static Integer |
evalInteger(String attrName,
String attrValue,
Tag tagObject,
PageContext pageContext)
Evaluates the attribute value in the JSTL EL engine, assuming the resulting value is an Integer object. |
static String |
evalString(String attrName,
String attrValue,
Tag tagObject,
PageContext pageContext)
Evaluates the attribute value in the JSTL EL engine, assuming the resulting value is a String object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Object eval(String attrName, String attrValue, Tag tagObject, PageContext pageContext) throws JspException
JspException
public static String evalString(String attrName, String attrValue, Tag tagObject, PageContext pageContext) throws JspException
JspException
public static Integer evalInteger(String attrName, String attrValue, Tag tagObject, PageContext pageContext) throws JspException
JspException
public static Boolean evalBoolean(String attrName, String attrValue, Tag tagObject, PageContext pageContext) throws JspException
JspException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |