org.springframework.binding.expression
Interface Expression
- All Known Subinterfaces:
- SettableExpression
- All Known Implementing Classes:
- CollectionAddingExpression, CompositeStringExpression, StaticExpression
public interface Expression
Evaluates a single parsed expression on the provided input object in the specified context. This provides a common
abstraction for expression evaluation independent of any language like OGNL or Spring's BeanWrapper.
- Author:
- Keith Donald
|
Method Summary |
java.lang.Object |
evaluate(java.lang.Object target,
EvaluationContext context)
Evaluate the expression encapsulated by this evaluator against the provided target object and return the result
of the evaluation. |
evaluate
java.lang.Object evaluate(java.lang.Object target,
EvaluationContext context)
throws EvaluationException
- Evaluate the expression encapsulated by this evaluator against the provided target object and return the result
of the evaluation.
- Parameters:
target - the target of the expressioncontext - the expression evaluation context
- Returns:
- the evaluation result
- Throws:
EvaluationException - an exception occured during evaluation
Copyright © 2004-2007. All Rights Reserved.