|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JexlContext
Manages variables which can be referenced in a JEXL expression.
Note that JEXL may use '$jexl' and '$ujexl' variables for internal purpose; setting or getting those variables may lead to unexpected results unless specified otherwise.
Method Summary | |
---|---|
java.lang.Object |
get(java.lang.String name)
Gets the value of a variable. |
boolean |
has(java.lang.String name)
Checks whether a variable is defined in this context. |
void |
set(java.lang.String name,
java.lang.Object value)
Sets the value of a variable. |
Method Detail |
---|
java.lang.Object get(java.lang.String name)
name
- the variable's name
void set(java.lang.String name, java.lang.Object value)
name
- the variable's namevalue
- the variable's valueboolean has(java.lang.String name)
A variable may be defined with a null value; this method checks whether the value is null or if the variable is undefined.
name
- the variable's name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |