public abstract class ELContext extends Object
| Constructor and Description |
|---|
ELContext() |
| 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) |
abstract ELResolver |
getELResolver() |
List<EvaluationListener> |
getEvaluationListeners() |
abstract FunctionMapper |
getFunctionMapper() |
ImportHandler |
getImportHandler() |
Object |
getLambdaArgument(String name) |
Locale |
getLocale() |
abstract 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 void setPropertyResolved(boolean resolved)
public boolean isPropertyResolved()
public void putContext(Class key, Object contextObject)
NullPointerException - If the supplied key or context is nullpublic Object getContext(Class key)
NullPointerException - If the supplied key is nullpublic abstract ELResolver getELResolver()
public ImportHandler getImportHandler()
public abstract FunctionMapper getFunctionMapper()
public Locale getLocale()
public void setLocale(Locale locale)
public abstract VariableMapper getVariableMapper()
public void addEvaluationListener(EvaluationListener listener)
public List<EvaluationListener> getEvaluationListeners()
public void notifyBeforeEvaluation(String expression)
public void notifyAfterEvaluation(String expression)
public void notifyPropertyResolved(Object base, Object property)
public boolean isLambdaArgument(String name)
public void exitLambdaScope()
Copyright © 2014 Mort Bay Consulting. All Rights Reserved.