BindingHelper (Grails 6.0.0)

Package: grails.databinding

## [Java] Interface BindingHelper<T>

-     public interface BindingHelper<T>

  Classes which implement this interface may participate in the data binding process. Instances of this interface may be registered with the data binder by applying the BindUsing annotation to a class.

  Authors:
    Jeff Brown
  Since:
    3.0
  See Also:
    BindUsing

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public T` | `getPropertyValue(java.lang.Object obj, java.lang.String propertyName, DataBindingSource source)` The value returned from this method will be bound to the property specified by propertyName.

- - ### Method Detail

    - #### public T getPropertyValue(java.lang.Object obj, java.lang.String propertyName, DataBindingSource source)

      The value returned from this method will be bound to the property specified by propertyName.

      Parameters:
        `obj` - The object that data binding is being applied to
        `propertyName` - The name of the property data binding is being applied to
        `source` - The Map containing all of the values being bound to this object
      Returns:
        The value which should be bound to propertyName