public final class ELContextWrapper extends ELContext
| Constructor and Description |
|---|
ELContextWrapper(ELContext target,
FunctionMapper fnMapper) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getContext(Class<?> key)
Obtain the context object for the given key.
|
ELResolver |
getELResolver() |
FunctionMapper |
getFunctionMapper() |
Locale |
getLocale() |
VariableMapper |
getVariableMapper() |
boolean |
isPropertyResolved() |
void |
putContext(Class<?> key,
Object contextObject)
Add an object to this EL context under the given key.
|
void |
setLocale(Locale locale) |
void |
setPropertyResolved(boolean resolved) |
addEvaluationListener, convertToType, enterLambdaScope, exitLambdaScope, getEvaluationListeners, getImportHandler, getLambdaArgument, isLambdaArgument, notifyAfterEvaluation, notifyBeforeEvaluation, notifyPropertyResolved, setPropertyResolvedpublic ELContextWrapper(ELContext target, FunctionMapper fnMapper)
public ELResolver getELResolver()
getELResolver in class ELContextpublic FunctionMapper getFunctionMapper()
getFunctionMapper in class ELContextpublic VariableMapper getVariableMapper()
getVariableMapper in class ELContextpublic Object getContext(Class<?> key)
jakarta.el.ELContextgetContext in class ELContextkey - The key of the required context objectpublic boolean isPropertyResolved()
isPropertyResolved in class ELContextpublic void putContext(Class<?> key, Object contextObject) throws NullPointerException
jakarta.el.ELContextputContext in class ELContextkey - The key under which to store the objectcontextObject - The object to addNullPointerException - If the supplied key or context is nullpublic void setPropertyResolved(boolean resolved)
setPropertyResolved in class ELContextCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.