|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.expression.MVELExpressionEvaluator
public class MVELExpressionEvaluator
MVEL expression evaluator.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.milyn.expression.ExpressionEvaluator |
|---|
ExpressionEvaluator.Factory |
| Constructor Summary | |
|---|---|
MVELExpressionEvaluator()
|
|
| Method Summary | |
|---|---|
boolean |
eval(Object contextObject)
Evaluate a conditional expression against the supplied object (can be a Map). |
String |
getExpression()
Get the String representation of the active expression on the evaluator instance. |
Object |
getValue(Object contextObject)
Evaluate an expression against the supplied Map variable, returning the eval result. |
void |
setExpression(String expression)
Set the condition expression for the evaluator implementation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MVELExpressionEvaluator()
| Method Detail |
|---|
public void setExpression(String expression)
throws SmooksConfigurationException
ExpressionEvaluator
setExpression in interface ExpressionEvaluatorexpression - The expression to be evaluated by the evaluator implementation.
SmooksConfigurationException - Invalid expression configuration.public String getExpression()
ExpressionEvaluator
getExpression in interface ExpressionEvaluator
public boolean eval(Object contextObject)
throws ExpressionEvaluationException
ExpressionEvaluator
eval in interface ExpressionEvaluatorcontextObject - The object against which the expression is to be evaluated.
ExpressionEvaluationException - Invalid expression evaluation condition (implementation specific).
public Object getValue(Object contextObject)
throws ExpressionEvaluationException
ExpressionEvaluator
getValue in interface ExpressionEvaluatorExpressionEvaluationException - Invalid expression evaluation (implementation specific).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||