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 ELContext
public VariableMapper getVariableMapper()
getVariableMapper
in class ELContext
public Object getContext(Class key)
getContext
in class ELContext
public ELResolver getELResolver()
getELResolver
in class ELContext
public boolean isPropertyResolved()
isPropertyResolved
in class ELContext
public void putContext(Class key, Object contextObject)
putContext
in class ELContext
public void setPropertyResolved(boolean resolved)
setPropertyResolved
in class ELContext
public void setPropertyResolved(Object base, Object property)
setPropertyResolved
in class ELContext
public ImportHandler getImportHandler()
getImportHandler
in class ELContext
public void addEvaluationListener(EvaluationListener listener)
addEvaluationListener
in class ELContext
public List<EvaluationListener> getEvaluationListeners()
getEvaluationListeners
in class ELContext
public void notifyBeforeEvaluation(String expression)
notifyBeforeEvaluation
in class ELContext
public void notifyAfterEvaluation(String expression)
notifyAfterEvaluation
in class ELContext
public void notifyPropertyResolved(Object base, Object property)
notifyPropertyResolved
in class ELContext
public boolean isLambdaArgument(String name)
isLambdaArgument
in class ELContext
public Object getLambdaArgument(String name)
getLambdaArgument
in class ELContext
public void enterLambdaScope(Map<String,Object> arguments)
enterLambdaScope
in class ELContext
public void exitLambdaScope()
exitLambdaScope
in class ELContext
public Object convertToType(Object obj, Class<?> type)
convertToType
in class ELContext
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.