|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Script
A JEXL Script.
A script is some valid JEXL syntax to be executed with
a given set of variables
.
A script is a group of statements, separated by semicolons.
The statements can be blocks
(curly braces containing code),
Control statements such as if
and while
as well as expressions and assignment statements.
Method Summary | |
---|---|
java.lang.Object |
execute(JexlContext context)
Executes the script with the variables contained in the supplied JexlContext . |
java.lang.String |
getText()
Returns the text of this Script. |
Method Detail |
---|
java.lang.Object execute(JexlContext context) throws java.lang.Exception
JexlContext
.
context
- A JexlContext containing variables.
java.lang.Exception
- on any script parse or execution error.java.lang.String getText()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |