| Modifier and Type | Field and Description |
|---|---|
| private final JexlContext | wrapped
The wrapped context. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | get(String
the variable's name name)Implements org. |
| public boolean | has(String
the variable's name name)Implements org. |
| public void | set(String
the unused variable name name, Object the unused variable value value)Implements org. |
| wrapped | back to summary |
|---|---|
| private final JexlContext wrapped The wrapped context. | |
| ReadonlyContext | back to summary |
|---|---|
| public ReadonlyContext(JexlContext context) Creates a new readonly context.
| |
| get | back to summary |
|---|---|
| public Object get(String name) Implements org. Doc from org. Gets the value of a variable. | |
| has | back to summary |
|---|---|
| public boolean has(String name) Implements org. Doc from org. Checks whether a variable is defined in this context. A variable may be defined with a null value; this method checks whether the value is null or if the variable is undefined.
| |
| set | back to summary |
|---|---|
| public void set(String name, Object value) Implements org. Will throw an UnsupportedOperationException when called; the JexlEngine deals with it appropriately. | |