public final class EvaluationContext extends ELContext
| Constructor and Description |
|---|
EvaluationContext(ELContext elContext,
FunctionMapper fnMapper,
VariableMapper varMapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEvaluationListener(EvaluationListener listener) |
Object |
convertToType(Object obj,
Class<?> type) |
void |
enterLambdaScope(Map<String,Object> arguments) |
void |
exitLambdaScope() |
Object |
getContext(Class key) |
ELContext |
getELContext() |
ELResolver |
getELResolver() |
List<EvaluationListener> |
getEvaluationListeners() |
FunctionMapper |
getFunctionMapper() |
ImportHandler |
getImportHandler() |
Object |
getLambdaArgument(String name) |
Locale |
getLocale() |
VariableMapper |
getVariableMapper() |
boolean |
isLambdaArgument(String name) |
boolean |
isPropertyResolved() |
void |
notifyAfterEvaluation(String expression) |
void |
notifyBeforeEvaluation(String expression) |
void |
notifyPropertyResolved(Object base,
Object property) |
void |
putContext(Class key,
Object contextObject) |
void |
setLocale(Locale locale) |
void |
setPropertyResolved(boolean resolved) |
void |
setPropertyResolved(Object base,
Object property) |
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)
getContext in class ELContextpublic ELResolver getELResolver()
getELResolver in class ELContextpublic boolean isPropertyResolved()
isPropertyResolved in class ELContextpublic void putContext(Class key, Object contextObject)
putContext in class ELContextpublic void setPropertyResolved(boolean resolved)
setPropertyResolved in class ELContextpublic void setPropertyResolved(Object base, Object property)
setPropertyResolved in class ELContextpublic ImportHandler getImportHandler()
getImportHandler in class ELContextpublic void addEvaluationListener(EvaluationListener listener)
addEvaluationListener in class ELContextpublic List<EvaluationListener> getEvaluationListeners()
getEvaluationListeners in class ELContextpublic void notifyBeforeEvaluation(String expression)
notifyBeforeEvaluation in class ELContextpublic void notifyAfterEvaluation(String expression)
notifyAfterEvaluation in class ELContextpublic void notifyPropertyResolved(Object base, Object property)
notifyPropertyResolved in class ELContextpublic boolean isLambdaArgument(String name)
isLambdaArgument in class ELContextpublic Object getLambdaArgument(String name)
getLambdaArgument in class ELContextpublic void enterLambdaScope(Map<String,Object> arguments)
enterLambdaScope in class ELContextpublic void exitLambdaScope()
exitLambdaScope in class ELContextpublic Object convertToType(Object obj, Class<?> type)
convertToType in class ELContextCopyright © 2014 Mort Bay Consulting. All Rights Reserved.