|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.scxml.env.jexl.JexlEvaluator
public class JexlEvaluator
Evaluator implementation enabling use of JEXL expressions in SCXML documents.
| Constructor Summary | |
|---|---|
JexlEvaluator()
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
eval(Context ctx,
java.lang.String expr)
Evaluate an expression. |
java.lang.Boolean |
evalCond(Context ctx,
java.lang.String expr)
Evaluate a condition. |
org.w3c.dom.Node |
evalLocation(Context ctx,
java.lang.String expr)
Evaluate a location that returns a Node within an XML data tree. |
Context |
newContext(Context parent)
Create a new child context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JexlEvaluator()
| Method Detail |
|---|
public java.lang.Object eval(Context ctx,
java.lang.String expr)
throws SCXMLExpressionException
eval in interface Evaluatorctx - variable contextexpr - expression
SCXMLExpressionException - For a malformed expressionEvaluator.eval(Context, String)
public java.lang.Boolean evalCond(Context ctx,
java.lang.String expr)
throws SCXMLExpressionException
Evaluator
evalCond in interface Evaluatorctx - variable contextexpr - expression
SCXMLExpressionException - A malformed exceptionEvaluator.evalCond(Context, String)
public org.w3c.dom.Node evalLocation(Context ctx,
java.lang.String expr)
throws SCXMLExpressionException
Evaluator
evalLocation in interface Evaluatorctx - variable contextexpr - expression
SCXMLExpressionException - A malformed exceptionEvaluator.evalLocation(Context, String)public Context newContext(Context parent)
newContext in interface Evaluatorparent - parent context
Evaluator.newContext(Context)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||