public interface JexlContext
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.
Modifier and Type | Method and Description |
---|---|
Object |
get(String name)
Gets the value of a variable.
|
boolean |
has(String name)
Checks whether a variable is defined in this context.
|
void |
set(String name,
Object value)
Sets the value of a variable.
|
Object get(String name)
name
- the variable's namevoid set(String name, Object value)
name
- the variable's namevalue
- the variable's valueboolean has(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 nameCopyright © 2016 Internet2. All rights reserved.