|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Expression
Represents a single JEXL 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.
Method Summary | |
---|---|
String |
dump()
Returns the JEXL expression by reconstructing it from the parsed tree. |
Object |
evaluate(JexlContext context)
Evaluates the expression with the variables contained in the supplied JexlContext . |
String |
getExpression()
Returns the JEXL expression this Expression was created with. |
Method Detail |
---|
Object evaluate(JexlContext context)
JexlContext
.
context
- A JexlContext containing variables.
JexlException
- on any errorString getExpression()
String dump()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |