groovy.beans
Class DefaultPropertyAccessor
java.lang.Object
groovy.beans.DefaultPropertyAccessor
- All Implemented Interfaces:
- PropertyAccessor, PropertyReader, PropertyWriter
public class DefaultPropertyAccessor
- extends Object
- implements PropertyAccessor
- Author:
- Andres Almiray
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final PropertyAccessor INSTANCE
DefaultPropertyAccessor
public DefaultPropertyAccessor()
read
public Object read(Object owner,
String propertyName)
- Specified by:
read
in interface PropertyReader
write
public void write(Object owner,
String propertyName,
Object value)
- Specified by:
write
in interface PropertyWriter