org.grails.databinding
Interface BindingHelper<T>

All Known Subinterfaces:
StructuredBindingEditor<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.

Since:
2.3
See Also:
BindUsing

Method Summary
 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

getPropertyValue

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