|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager
public class ExpressionEvaluatorManager
A conduit to the JSTL EL. Based on...
An implementation of the ExpressionEvaluatorManager called for by the JSTL rev1 draft. This class is responsible for delegating a request for expression evaluating to the particular, "active" ExpressionEvaluator for the given point in the PageContext object passed in.
Field Summary | |
---|---|
static String |
EVALUATOR_CLASS
|
Constructor Summary | |
---|---|
ExpressionEvaluatorManager()
|
Method Summary | |
---|---|
static Object |
coerce(Object value,
Class classe)
Performs a type conversion according to the EL's rules. |
static Object |
evaluate(String attributeName,
String expression,
Class expectedType,
javax.servlet.jsp.PageContext pageContext)
Invokes the evaluate() method on the "active" ExpressionEvaluator for the given pageContext. |
static Object |
evaluate(String attributeName,
String expression,
Class expectedType,
javax.servlet.jsp.tagext.Tag tag,
javax.servlet.jsp.PageContext pageContext)
Invokes the evaluate() method on the "active" ExpressionEvaluator for the given pageContext. |
static ExpressionEvaluator |
getEvaluatorByName(String name)
Deprecated. |
static String |
validate(String attributeName,
String expression)
Validates an expression. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String EVALUATOR_CLASS
Constructor Detail |
---|
public ExpressionEvaluatorManager()
Method Detail |
---|
public static Object evaluate(String attributeName, String expression, Class expectedType, javax.servlet.jsp.tagext.Tag tag, javax.servlet.jsp.PageContext pageContext) throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public static Object evaluate(String attributeName, String expression, Class expectedType, javax.servlet.jsp.PageContext pageContext) throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
@Deprecated public static ExpressionEvaluator getEvaluatorByName(String name) throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public static Object coerce(Object value, Class classe) throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public static String validate(String attributeName, String expression)
attributeName
- the name of the attribute containing the expressionexpression
- the expression to validate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |