Package groovy.beans
Class DefaultPropertyAccessor
- java.lang.Object
-
- groovy.beans.DefaultPropertyAccessor
-
- All Implemented Interfaces:
PropertyAccessor
,PropertyReader
,PropertyWriter
public class DefaultPropertyAccessor extends Object implements PropertyAccessor
-
-
Field Summary
Fields Modifier and Type Field Description static PropertyAccessor
INSTANCE
-
Constructor Summary
Constructors Constructor Description DefaultPropertyAccessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
read(Object owner, String propertyName)
void
write(Object owner, String propertyName, Object value)
-
-
-
Field Detail
-
INSTANCE
public static final PropertyAccessor INSTANCE
-
-
Method Detail
-
read
public Object read(Object owner, String propertyName)
- Specified by:
read
in interfacePropertyReader
-
write
public void write(Object owner, String propertyName, Object value)
- Specified by:
write
in interfacePropertyWriter
-
-