Package groovy.beans
Class DefaultPropertyReader
java.lang.Object
groovy.beans.DefaultPropertyReader
- All Implemented Interfaces:
PropertyReader
Default
PropertyReader implementation using Groovy property access.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
Shared property reader instance.
-
-
Constructor Details
-
DefaultPropertyReader
public DefaultPropertyReader()
-
-
Method Details
-
read
Reads the named property from the supplied owner.- Specified by:
readin interfacePropertyReader- Parameters:
owner- the object that owns the propertypropertyName- the property name- Returns:
- the property value
-