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 and Description
    --- | ---
    `static PropertyAccessor` | `INSTANCE`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultPropertyAccessor()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `read(Object owner, String propertyName)`
    `void` | `write(Object owner, String propertyName, Object value)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### INSTANCE

          public static final PropertyAccessor INSTANCE

  - ### Constructor Detail

    - #### DefaultPropertyAccessor

          public DefaultPropertyAccessor()

  - ### Method Detail

    - #### 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`