Package groovy.beans
Class DefaultPropertyWriter
java.lang.Object
groovy.beans.DefaultPropertyWriter
- All Implemented Interfaces:
PropertyWriter
Default
PropertyWriter implementation using Groovy property access.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
Shared property writer instance.
-
-
Constructor Details
-
DefaultPropertyWriter
public DefaultPropertyWriter()
-
-
Method Details
-
write
Writes the named property on the supplied owner.- Specified by:
writein interfacePropertyWriter- Parameters:
owner- the object that owns the propertypropertyName- the property namevalue- the value to assign
-