Package org.smooks.api.expression
Interface ExecutionContextExpressionEvaluator
-
- All Superinterfaces:
ExpressionEvaluator
public interface ExecutionContextExpressionEvaluator extends ExpressionEvaluator
ExecutionContextbased expression evaluator.- Author:
- tom.fennelly@gmail.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleaneval(ExecutionContext context)Evaluate an expression based on the suppliedExecutionContext.ObjectgetValue(ExecutionContext context)Evaluate an expression based on the suppliedExecutionContextand return the value.-
Methods inherited from interface org.smooks.api.expression.ExpressionEvaluator
eval, getExpression, getValue, setExpression
-
-
-
-
Method Detail
-
eval
boolean eval(ExecutionContext context) throws ExpressionEvaluationException
Evaluate an expression based on the suppliedExecutionContext.- Parameters:
context- The context.- Returns:
- True if the condition evaluates successfully, otherwise false.
- Throws:
ExpressionEvaluationException- Invalid expression evaluation (implementation specific).
-
getValue
Object getValue(ExecutionContext context) throws ExpressionEvaluationException
Evaluate an expression based on the suppliedExecutionContextand return the value.- Parameters:
context- The context.- Returns:
- Expression evaluation result.
- Throws:
ExpressionEvaluationException- Invalid expression evaluation (implementation specific).
-
-