|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.taglibs.standard.lang.jstl.Evaluator
public class Evaluator
This is the expression evaluator "adapter" that customizes it for use with the JSP Standard Tag Library. It uses a VariableResolver implementation that looks up variables from the PageContext and also implements its implicit objects. It also wraps ELExceptions in JspExceptions that describe the attribute name and value causing the error.
Constructor Summary | |
---|---|
Evaluator()
|
Method Summary | |
---|---|
Object |
evaluate(String pAttributeName,
String pAttributeValue,
Class pExpectedType,
Tag pTag,
PageContext pPageContext)
Conduit to old-style call for convenience. |
Object |
evaluate(String pAttributeName,
String pAttributeValue,
Class pExpectedType,
Tag pTag,
PageContext pPageContext,
Map functions,
String defaultPrefix)
Evaluates the expression at request time |
static String |
parseAndRender(String pAttributeValue)
Parses the given attribute value, then converts it back to a String in its canonical form. |
String |
validate(String pAttributeName,
String pAttributeValue)
Translation time validation of an attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Evaluator()
Method Detail |
---|
public String validate(String pAttributeName, String pAttributeValue)
validate
in interface ExpressionEvaluator
public Object evaluate(String pAttributeName, String pAttributeValue, Class pExpectedType, Tag pTag, PageContext pPageContext, Map functions, String defaultPrefix) throws JspException
JspException
public Object evaluate(String pAttributeName, String pAttributeValue, Class pExpectedType, Tag pTag, PageContext pPageContext) throws JspException
evaluate
in interface ExpressionEvaluator
JspException
public static String parseAndRender(String pAttributeValue) throws JspException
JspException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |