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, setPropertyResolved
public ELContextWrapper(ELContext target, FunctionMapper fnMapper)
public ELResolver getELResolver()
getELResolver
in class ELContext
public FunctionMapper getFunctionMapper()
getFunctionMapper
in class ELContext
public VariableMapper getVariableMapper()
getVariableMapper
in class ELContext
public Object getContext(Class key)
javax.el.ELContext
getContext
in class ELContext
key
- The key of the required context objectpublic boolean isPropertyResolved()
isPropertyResolved
in class ELContext
public void putContext(Class key, Object contextObject) throws NullPointerException
javax.el.ELContext
putContext
in class ELContext
key
- The key under which to store the objectcontextObject
- The object to addNullPointerException
- If the supplied key or context is null
public void setPropertyResolved(boolean resolved)
setPropertyResolved
in class ELContext
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.