public final class EvaluationContext extends ELContext
| Constructor and Description |
|---|
EvaluationContext(ELContext elContext,
FunctionMapper fnMapper,
VariableMapper varMapper) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getContext(Class key)
Obtain the context object for the given key.
|
ELContext |
getELContext() |
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) |
public EvaluationContext(ELContext elContext, FunctionMapper fnMapper, VariableMapper varMapper)
public ELContext getELContext()
public FunctionMapper getFunctionMapper()
getFunctionMapper in class ELContextpublic VariableMapper getVariableMapper()
getVariableMapper in class ELContextpublic Object getContext(Class key)
ELContextgetContext in class ELContextkey - The key of the required context objectpublic ELResolver getELResolver()
getELResolver in class ELContextpublic boolean isPropertyResolved()
isPropertyResolved in class ELContextpublic void putContext(Class key, Object contextObject)
ELContextputContext in class ELContextkey - The key under which to store the objectcontextObject - The object to addpublic void setPropertyResolved(boolean resolved)
setPropertyResolved in class ELContextCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.