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 TypeMethodDescriptionvoidaddEvaluationListener(javax.el.EvaluationListener listener) convertToType(Object obj, Class<?> targetType) voidenterLambdaScope(Map<String, Object> args) voidgetContext(Class key) javax.el.ELContextjavax.el.ELResolverList<javax.el.EvaluationListener> javax.el.FunctionMapperjavax.el.ImportHandlergetLambdaArgument(String arg) javax.el.VariableMapperbooleanisLambdaArgument(String arg) booleanvoidnotifyAfterEvaluation(String expr) voidnotifyBeforeEvaluation(String expr) voidnotifyPropertyResolved(Object base, Object property) voidputContext(Class key, Object contextObject) voidsetPropertyResolved(boolean resolved) voidsetPropertyResolved(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:
getFunctionMapperin classjavax.el.ELContext
-
getVariableMapper
public javax.el.VariableMapper getVariableMapper()- Specified by:
getVariableMapperin classjavax.el.ELContext
-
getContext
-
getELResolver
public javax.el.ELResolver getELResolver()- Specified by:
getELResolverin classjavax.el.ELContext
-
isPropertyResolved
public boolean isPropertyResolved()- Overrides:
isPropertyResolvedin classjavax.el.ELContext
-
putContext
-
setPropertyResolved
public void setPropertyResolved(boolean resolved) - Overrides:
setPropertyResolvedin classjavax.el.ELContext
-
setPropertyResolved
-
addEvaluationListener
public void addEvaluationListener(javax.el.EvaluationListener listener) - Overrides:
addEvaluationListenerin classjavax.el.ELContext
-
getEvaluationListeners
- Overrides:
getEvaluationListenersin classjavax.el.ELContext
-
notifyBeforeEvaluation
- Overrides:
notifyBeforeEvaluationin classjavax.el.ELContext
-
notifyAfterEvaluation
- Overrides:
notifyAfterEvaluationin classjavax.el.ELContext
-
notifyPropertyResolved
-
isLambdaArgument
- Overrides:
isLambdaArgumentin classjavax.el.ELContext
-
getLambdaArgument
-
enterLambdaScope
-
exitLambdaScope
public void exitLambdaScope()- Overrides:
exitLambdaScopein classjavax.el.ELContext
-
convertToType
-
getImportHandler
public javax.el.ImportHandler getImportHandler()- Overrides:
getImportHandlerin classjavax.el.ELContext
-