Package com.sun.el.lang
Class EvaluationContext
java.lang.Object
javax.el.ELContext
com.sun.el.lang.EvaluationContext
public final class EvaluationContext
extends javax.el.ELContext
The context for EL expression evaluation. This wrapper ELContext captures
the function mapper and the variable mapper at the point when the epxression
is parsed, and only for those functions and variable used in the expression.
-
Constructor Summary
ConstructorsConstructorDescriptionEvaluationContext
(javax.el.ELContext elContext, javax.el.FunctionMapper fnMapper, javax.el.VariableMapper varMapper) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEvaluationListener
(javax.el.EvaluationListener listener) convertToType
(Object obj, Class<?> targetType) void
enterLambdaScope
(Map<String, Object> args) void
getContext
(Class key) javax.el.ELContext
javax.el.ELResolver
List
<javax.el.EvaluationListener> javax.el.FunctionMapper
javax.el.ImportHandler
getLambdaArgument
(String arg) javax.el.VariableMapper
boolean
isLambdaArgument
(String arg) boolean
void
notifyAfterEvaluation
(String expr) void
notifyBeforeEvaluation
(String expr) void
notifyPropertyResolved
(Object base, Object property) void
putContext
(Class key, Object contextObject) void
setPropertyResolved
(boolean resolved) void
setPropertyResolved
(Object base, Object property) Methods inherited from class javax.el.ELContext
getLocale, setLocale
-
Constructor Details
-
EvaluationContext
public EvaluationContext(javax.el.ELContext elContext, javax.el.FunctionMapper fnMapper, javax.el.VariableMapper varMapper)
-
-
Method Details
-
getELContext
public javax.el.ELContext getELContext() -
getFunctionMapper
public javax.el.FunctionMapper getFunctionMapper()- Specified by:
getFunctionMapper
in classjavax.el.ELContext
-
getVariableMapper
public javax.el.VariableMapper getVariableMapper()- Specified by:
getVariableMapper
in classjavax.el.ELContext
-
getContext
- Overrides:
getContext
in classjavax.el.ELContext
-
getELResolver
public javax.el.ELResolver getELResolver()- Specified by:
getELResolver
in classjavax.el.ELContext
-
isPropertyResolved
public boolean isPropertyResolved()- Overrides:
isPropertyResolved
in classjavax.el.ELContext
-
putContext
- Overrides:
putContext
in classjavax.el.ELContext
-
setPropertyResolved
public void setPropertyResolved(boolean resolved) - Overrides:
setPropertyResolved
in classjavax.el.ELContext
-
setPropertyResolved
- Overrides:
setPropertyResolved
in classjavax.el.ELContext
-
addEvaluationListener
public void addEvaluationListener(javax.el.EvaluationListener listener) - Overrides:
addEvaluationListener
in classjavax.el.ELContext
-
getEvaluationListeners
- Overrides:
getEvaluationListeners
in classjavax.el.ELContext
-
notifyBeforeEvaluation
- Overrides:
notifyBeforeEvaluation
in classjavax.el.ELContext
-
notifyAfterEvaluation
- Overrides:
notifyAfterEvaluation
in classjavax.el.ELContext
-
notifyPropertyResolved
- Overrides:
notifyPropertyResolved
in classjavax.el.ELContext
-
isLambdaArgument
- Overrides:
isLambdaArgument
in classjavax.el.ELContext
-
getLambdaArgument
- Overrides:
getLambdaArgument
in classjavax.el.ELContext
-
enterLambdaScope
- Overrides:
enterLambdaScope
in classjavax.el.ELContext
-
exitLambdaScope
public void exitLambdaScope()- Overrides:
exitLambdaScope
in classjavax.el.ELContext
-
convertToType
- Overrides:
convertToType
in classjavax.el.ELContext
-
getImportHandler
public javax.el.ImportHandler getImportHandler()- Overrides:
getImportHandler
in classjavax.el.ELContext
-