public interface Expression
This simple interface provides access to the underlying expression through
getExpression()
.
An expression is different than a script - it is simply a reference of an expression.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
dump()
Returns the JEXL expression by reconstructing it from the parsed tree.
|
java.lang.Object |
evaluate(JexlContext context)
Evaluates the expression with the variables contained in the
supplied
JexlContext . |
java.lang.String |
getExpression()
Returns the JEXL expression this Expression was created with.
|
java.lang.Object evaluate(JexlContext context)
JexlContext
.context
- A JexlContext containing variables.JexlException
- on any errorjava.lang.String getExpression()
java.lang.String dump()
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.