| Modifier and Type | Field and Description |
|---|---|
| private final JexlEngine | jexl
The property solving jexl engine. |
| private final T | object
The object serving as context provider. |
| Access | Constructor and Description |
|---|---|
| public | ObjectContext(JexlEngine
the jexl engine to use to solve properties engine, T the object to wrap in this context wrapped)Creates a new ObjectContext. |
| 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 variable's name name, Object the variable's value value)Implements org. |
| jexl | back to summary |
|---|---|
| private final JexlEngine jexl The property solving jexl engine. | |
| object | back to summary |
|---|---|
| private final T object The object serving as context provider. | |
| ObjectContext | back to summary |
|---|---|
| public ObjectContext(JexlEngine engine, T wrapped) Creates a new ObjectContext.
| |
| 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. Doc from org. Sets the value of a variable. | |