public class DefaultPropertyAccessor
extends Object
implements PropertyAccessor
Default PropertyAccessor implementation backed by the standard Groovy property reader and writer.
| Modifiers | Name | Description |
|---|---|---|
static PropertyAccessor |
INSTANCE |
Shared accessor instance. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Object |
read(Object owner, String propertyName)* Reads the named property from the supplied owner. * *
|
|
public void |
write(Object owner, String propertyName, Object value)* Writes the named property on the supplied owner. * *
|
Shared accessor instance.