public interface Evaluator
Modifier and Type | Method and Description |
---|---|
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.
|
Object eval(Context ctx, String expr) throws SCXMLExpressionException
ctx
- variable contextexpr
- expressionSCXMLExpressionException
- A malformed exceptionBoolean evalCond(Context ctx, String expr) throws SCXMLExpressionException
ctx
- variable contextexpr
- expressionSCXMLExpressionException
- A malformed exceptionNode evalLocation(Context ctx, String expr) throws SCXMLExpressionException
ctx
- variable contextexpr
- expressionSCXMLExpressionException
- A malformed exceptionCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.