public class JexlEvaluator extends Object implements Evaluator, Serializable
| Constructor and Description |
|---|
JexlEvaluator()
Constructor.
|
| 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.
|
public Object eval(Context ctx, String expr) throws SCXMLExpressionException
eval in interface Evaluatorctx - variable contextexpr - expressionSCXMLExpressionException - For a malformed expressionEvaluator.eval(Context, String)public Boolean evalCond(Context ctx, String expr) throws SCXMLExpressionException
EvaluatorevalCond in interface Evaluatorctx - variable contextexpr - expressionSCXMLExpressionException - A malformed exceptionEvaluator.evalCond(Context, String)public Node evalLocation(Context ctx, String expr) throws SCXMLExpressionException
EvaluatorevalLocation in interface Evaluatorctx - variable contextexpr - expressionSCXMLExpressionException - A malformed exceptionEvaluator.evalLocation(Context, String)public Context newContext(Context parent)
newContext in interface Evaluatorparent - parent contextEvaluator.newContext(Context)Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.