public interface EvaluationContext
There is a default implementation of the EvaluationContext,
StandardEvaluationContext
that can be extended, rather than having to implement everything.
Modifier and Type | Method and Description |
---|---|
BeanResolver |
getBeanResolver() |
java.util.List<ConstructorResolver> |
getConstructorResolvers() |
java.util.List<MethodResolver> |
getMethodResolvers() |
OperatorOverloader |
getOperatorOverloader() |
java.util.List<PropertyAccessor> |
getPropertyAccessors() |
TypedValue |
getRootObject() |
TypeComparator |
getTypeComparator() |
TypeConverter |
getTypeConverter() |
TypeLocator |
getTypeLocator() |
java.lang.Object |
lookupVariable(java.lang.String name)
Look up a named variable within this evaluation context.
|
void |
setVariable(java.lang.String name,
java.lang.Object value)
Set a named variable within this evaluation context to a specified value.
|
TypedValue getRootObject()
java.util.List<ConstructorResolver> getConstructorResolvers()
java.util.List<MethodResolver> getMethodResolvers()
java.util.List<PropertyAccessor> getPropertyAccessors()
TypeLocator getTypeLocator()
TypeConverter getTypeConverter()
TypeComparator getTypeComparator()
OperatorOverloader getOperatorOverloader()
BeanResolver getBeanResolver()
void setVariable(java.lang.String name, java.lang.Object value)
name
- variable to setvalue
- value to be placed in the variablejava.lang.Object lookupVariable(java.lang.String name)
name
- variable to lookup