|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EvaluationContext
Expressions are executed in an evaluation context. It is in this context that references are resolved when encountered during expression evaluation.
There is a default implementation of the EvaluationContext,
StandardEvaluationContext
that can be extended, rather than having to implement everything.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 variableObject lookupVariable(String name)
name
- variable to lookup
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |