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 ELContext
public VariableMapper getVariableMapper()
getVariableMapper
in class ELContext
public Object getContext(Class key)
ELContext
getContext
in class ELContext
key
- The key of the required context objectpublic ELResolver getELResolver()
getELResolver
in class ELContext
public boolean isPropertyResolved()
isPropertyResolved
in class ELContext
public void putContext(Class key, Object contextObject)
ELContext
putContext
in class ELContext
key
- The key under which to store the objectcontextObject
- The object to addpublic void setPropertyResolved(boolean resolved)
setPropertyResolved
in class ELContext
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.