public class ExpressionState extends Object
It also acts as a place for to define common utility routines that the various Ast nodes might need.
Constructor and Description |
---|
ExpressionState(EvaluationContext context) |
ExpressionState(EvaluationContext context,
SpelParserConfiguration configuration) |
ExpressionState(EvaluationContext context,
TypedValue rootObject) |
ExpressionState(EvaluationContext context,
TypedValue rootObject,
SpelParserConfiguration configuration) |
public ExpressionState(EvaluationContext context)
public ExpressionState(EvaluationContext context, SpelParserConfiguration configuration)
public ExpressionState(EvaluationContext context, TypedValue rootObject)
public ExpressionState(EvaluationContext context, TypedValue rootObject, SpelParserConfiguration configuration)
public TypedValue getActiveContextObject()
public void pushActiveContextObject(TypedValue obj)
public void popActiveContextObject()
public TypedValue getRootContextObject()
public TypedValue lookupVariable(String name)
public TypeComparator getTypeComparator()
public Class<?> findType(String type) throws EvaluationException
EvaluationException
public Object convertValue(Object value, TypeDescriptor targetTypeDescriptor) throws EvaluationException
EvaluationException
public TypeConverter getTypeConverter()
public Object convertValue(TypedValue value, TypeDescriptor targetTypeDescriptor) throws EvaluationException
EvaluationException
public void exitScope()
public TypedValue operate(Operation op, Object left, Object right) throws EvaluationException
EvaluationException
public List<PropertyAccessor> getPropertyAccessors()
public EvaluationContext getEvaluationContext()
public SpelParserConfiguration getConfiguration()