Package grails.databinding
Interface BindingHelper<T>
-
- All Known Subinterfaces:
StructuredBindingEditor<T>,TypedStructuredBindingEditor<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 theBindUsingannotation to a class.- Since:
- 3.0
- See Also:
BindUsing
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetPropertyValue(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 topropertyName- The name of the property data binding is being applied tosource- The Map containing all of the values being bound to this object- Returns:
- The value which should be bound to propertyName
-
-