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<?> targetType) |
void |
enterLambdaScope(Map<String,Object> args) |
void |
exitLambdaScope() |
Object |
getContext(Class key) |
ELContext |
getELContext() |
ELResolver |
getELResolver() |
List<EvaluationListener> |
getEvaluationListeners() |
FunctionMapper |
getFunctionMapper() |
ImportHandler |
getImportHandler() |
Object |
getLambdaArgument(String arg) |
VariableMapper |
getVariableMapper() |
boolean |
isLambdaArgument(String arg) |
boolean |
isPropertyResolved() |
void |
notifyAfterEvaluation(String expr) |
void |
notifyBeforeEvaluation(String expr) |
void |
notifyPropertyResolved(Object base,
Object property) |
void |
putContext(Class key,
Object contextObject) |
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 void addEvaluationListener(EvaluationListener listener)
addEvaluationListener in class ELContextpublic List<EvaluationListener> getEvaluationListeners()
getEvaluationListeners in class ELContextpublic void notifyBeforeEvaluation(String expr)
notifyBeforeEvaluation in class ELContextpublic void notifyAfterEvaluation(String expr)
notifyAfterEvaluation in class ELContextpublic void notifyPropertyResolved(Object base, Object property)
notifyPropertyResolved in class ELContextpublic boolean isLambdaArgument(String arg)
isLambdaArgument in class ELContextpublic Object getLambdaArgument(String arg)
getLambdaArgument in class ELContextpublic void enterLambdaScope(Map<String,Object> args)
enterLambdaScope in class ELContextpublic void exitLambdaScope()
exitLambdaScope in class ELContextpublic Object convertToType(Object obj, Class<?> targetType)
convertToType in class ELContextpublic ImportHandler getImportHandler()
getImportHandler in class ELContextComments to: el-dev@eclipse.org.
Copyright © 2018, 2020 Eclipse Foundation. All rights reserved.
Use is subject to license terms.