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