|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
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 | |
---|---|
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 |
---|
Object eval(Context ctx, String expr) throws SCXMLExpressionException
ctx
- variable contextexpr
- expression
SCXMLExpressionException
- A malformed exceptionBoolean evalCond(Context ctx, String expr) throws SCXMLExpressionException
ctx
- variable contextexpr
- expression
SCXMLExpressionException
- A malformed exceptionNode evalLocation(Context ctx, 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 All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |