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() |
List<ConstructorResolver> |
getConstructorResolvers() |
List<MethodResolver> |
getMethodResolvers() |
OperatorOverloader |
getOperatorOverloader() |
List<PropertyAccessor> |
getPropertyAccessors() |
TypedValue |
getRootObject() |
TypeComparator |
getTypeComparator() |
TypeConverter |
getTypeConverter() |
TypeLocator |
getTypeLocator() |
Object |
lookupVariable(String name)
Look up a named variable within this evaluation context.
|
void |
setVariable(String name,
Object value)
Set a named variable within this evaluation context to a specified value.
|
TypedValue getRootObject()
List<ConstructorResolver> getConstructorResolvers()
List<MethodResolver> getMethodResolvers()
List<PropertyAccessor> getPropertyAccessors()
TypeLocator getTypeLocator()
TypeConverter getTypeConverter()
TypeComparator getTypeComparator()
OperatorOverloader getOperatorOverloader()
BeanResolver getBeanResolver()
void setVariable(String name, Object value)
name
- variable to setvalue
- value to be placed in the variable