public class ExpressionEvaluatorManager extends Object
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.
Modifier and Type | Field and Description |
---|---|
static String |
EVALUATOR_CLASS |
Constructor and Description |
---|
ExpressionEvaluatorManager() |
Modifier and Type | Method and Description |
---|---|
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,
PageContext pageContext)
Invokes the evaluate() method on the "active" ExpressionEvaluator
for the given pageContext.
|
static Object |
evaluate(String attributeName,
String expression,
Class expectedType,
Tag tag,
PageContext pageContext)
Invokes the evaluate() method on the "active" ExpressionEvaluator
for the given pageContext.
|
static ExpressionEvaluator |
getEvaluatorByName(String name)
Gets an ExpressionEvaluator from the cache, or seeds the cache
if we haven't seen a particular ExpressionEvaluator before.
|
public static final String EVALUATOR_CLASS
public static Object evaluate(String attributeName, String expression, Class expectedType, Tag tag, PageContext pageContext) throws JspException
JspException
public static Object evaluate(String attributeName, String expression, Class expectedType, PageContext pageContext) throws JspException
JspException
public static ExpressionEvaluator getEvaluatorByName(String name) throws JspException
JspException
public static Object coerce(Object value, Class classe) throws JspException
JspException
Copyright © 2018 JBoss by Red Hat. All rights reserved.