public final class ELContextWrapper extends ELContext
| Constructor and Description |
|---|
ELContextWrapper(ELContext target,
FunctionMapper fnMapper) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getContext(java.lang.Class<?> key)
Obtain the context object for the given key.
|
ELResolver |
getELResolver() |
FunctionMapper |
getFunctionMapper() |
java.util.Locale |
getLocale() |
VariableMapper |
getVariableMapper() |
boolean |
isPropertyResolved() |
void |
putContext(java.lang.Class<?> key,
java.lang.Object contextObject)
Add an object to this EL context under the given key.
|
void |
setLocale(java.util.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 java.lang.Object getContext(java.lang.Class<?> key)
ELContextgetContext in class ELContextkey - The key of the required context objectpublic boolean isPropertyResolved()
isPropertyResolved in class ELContextpublic void putContext(java.lang.Class<?> key,
java.lang.Object contextObject)
throws java.lang.NullPointerException
ELContextputContext in class ELContextkey - The key under which to store the objectcontextObject - The object to addjava.lang.NullPointerException - If the supplied key or context is nullpublic void setPropertyResolved(boolean resolved)
setPropertyResolved in class ELContextCopyright © 2014–2021. All rights reserved.