Class ELContextWrapper
java.lang.Object
jakarta.el.ELContext
org.apache.jasper.el.ELContextWrapper
Simple ELContextWrapper for runtime evaluation of EL w/ dynamic FunctionMappers
- Author:
- jhook
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetContext
(Class<?> key) Obtain the context object for the given key.boolean
void
putContext
(Class<?> key, Object contextObject) Add an object to this EL context under the given key.void
void
setPropertyResolved
(boolean resolved) Methods inherited from class jakarta.el.ELContext
addEvaluationListener, convertToType, enterLambdaScope, exitLambdaScope, getEvaluationListeners, getImportHandler, getLambdaArgument, isLambdaArgument, notifyAfterEvaluation, notifyBeforeEvaluation, notifyPropertyResolved, setPropertyResolved
-
Constructor Details
-
ELContextWrapper
-
-
Method Details
-
getELResolver
- Specified by:
getELResolver
in classELContext
-
getFunctionMapper
- Specified by:
getFunctionMapper
in classELContext
-
getVariableMapper
- Specified by:
getVariableMapper
in classELContext
-
getContext
Description copied from class:jakarta.el.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
-
getLocale
-
isPropertyResolved
public boolean isPropertyResolved()- Overrides:
isPropertyResolved
in classELContext
-
putContext
Description copied from class:jakarta.el.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- Throws:
NullPointerException
- If the supplied key or context isnull
-
setLocale
-
setPropertyResolved
public void setPropertyResolved(boolean resolved) - Overrides:
setPropertyResolved
in classELContext
-