Class StandardELContext
java.lang.Object
jakarta.el.ELContext
jakarta.el.StandardELContext
-
Constructor Summary
ConstructorDescriptionStandardELContext
(ELContext context) StandardELContext
(ExpressionFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addELResolver
(ELResolver resolver) getContext
(Class<?> key) Obtain the context object for the given key.void
putContext
(Class<?> key, Object contextObject) Add an object to this EL context under the given key.Methods inherited from class jakarta.el.ELContext
addEvaluationListener, convertToType, enterLambdaScope, exitLambdaScope, getEvaluationListeners, getImportHandler, getLambdaArgument, getLocale, isLambdaArgument, isPropertyResolved, notifyAfterEvaluation, notifyBeforeEvaluation, notifyPropertyResolved, setLocale, setPropertyResolved, setPropertyResolved
-
Constructor Details
-
StandardELContext
-
StandardELContext
-
-
Method Details
-
putContext
Description copied from class:ELContext
Add an object to this EL context under the given key.- Overrides:
putContext
in classELContext
- Parameters:
key
- The key under which to store the objectcontextObject
- The object to add
-
getContext
Description copied from class:ELContext
Obtain the context object for the given key.- Overrides:
getContext
in classELContext
- Parameters:
key
- The key of the required context object- Returns:
- The value of the context object associated with the given key
-
getELResolver
- Specified by:
getELResolver
in classELContext
-
addELResolver
-
getFunctionMapper
- Specified by:
getFunctionMapper
in classELContext
-
getVariableMapper
- Specified by:
getVariableMapper
in classELContext
-