|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Evaluator
Interface for a component that may be used by the SCXML engines to evaluate the expressions within the SCXML document.
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. |
Method Detail |
---|
java.lang.Object eval(Context ctx, java.lang.String expr) throws SCXMLExpressionException
ctx
- variable contextexpr
- expression
SCXMLExpressionException
- A malformed exceptionjava.lang.Boolean evalCond(Context ctx, java.lang.String expr) throws SCXMLExpressionException
ctx
- variable contextexpr
- expression
SCXMLExpressionException
- A malformed exceptionorg.w3c.dom.Node evalLocation(Context ctx, java.lang.String expr) throws SCXMLExpressionException
ctx
- variable contextexpr
- expression
SCXMLExpressionException
- A malformed exceptionContext newContext(Context parent)
parent
- parent context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |