Environment instance.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: truethe evaluation context in which the access is being attempted context, Object the target object upon which the property is being accessed target, String the name of the property being accessed name)Implements org. Environment, thus always returns true.
|
| public boolean | canWrite(EvaluationContext
the evaluation context in which the access is being attempted context, Object the target object upon which the property is being accessed target, String the name of the property being accessed name)Implements org. false.
|
| public Class | getSpecificTargetClasses()
Implements org. |
| public TypedValue | read(EvaluationContext
the evaluation context in which the access is being attempted context, Object the target object upon which the property is being accessed target, String the name of the property being accessed name)Implements org. |
| public void | write(EvaluationContext
the evaluation context in which the access is being attempted context, Object the target object upon which the property is being accessed target, String the name of the property being accessed name, Object the new value for the property newValue)Implements org. |
| EnvironmentAccessor | back to summary |
|---|---|
| public EnvironmentAccessor() | |
| canRead | back to summary |
|---|---|
| public boolean canRead(EvaluationContext context, Object target, String name) throws AccessException Implements org. Can read any
| |
| canWrite | back to summary |
|---|---|
| public boolean canWrite(EvaluationContext context, Object target, String name) throws AccessException Implements org. Read-only: returns
| |
| getSpecificTargetClasses | back to summary |
|---|---|
| public Class Implements org. Doc from org. Return an array of classes for which this resolver should be called. Returning | |
| read | back to summary |
|---|---|
| public TypedValue read(EvaluationContext context, Object target, String name) throws AccessException Implements org. Access the given target object by resolving the given property name against the given target environment.
| |
| write | back to summary |
|---|---|
| public void write(EvaluationContext context, Object target, String name, Object newValue) throws AccessException Implements org. Read-only: no-op.
| |