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