| 
 | ||||||||||
| 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 | |
|---|---|
|  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. | 
| 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 Object eval(Context ctx,
                   String expr)
            throws SCXMLExpressionException
eval in interface Evaluatorctx - variable contextexpr - expression
SCXMLExpressionException - For a malformed expressionEvaluator.eval(Context, String)
public Boolean evalCond(Context ctx,
                        String expr)
                 throws SCXMLExpressionException
Evaluator
evalCond in interface Evaluatorctx - variable contextexpr - expression
SCXMLExpressionException - A malformed exceptionEvaluator.evalCond(Context, String)
public Node evalLocation(Context ctx,
                         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 | |||||||||