A listener which will be notified of events generated during data binding.
Type Params | Return Type | Name and description |
---|---|---|
|
void |
afterBinding(java.lang.Object target, java.lang.String propertyName, java.lang.Object errors) Called after data binding has been imposed on a property |
|
void |
afterBinding(java.lang.Object target, java.lang.Object errors) Called after data binding has finished. |
|
java.lang.Boolean |
beforeBinding(java.lang.Object target, java.lang.Object errors) Called when data binding is about to start. |
|
java.lang.Boolean |
beforeBinding(java.lang.Object target, java.lang.String propertyName, java.lang.Object value, java.lang.Object errors) Called when data binding is about to imposed on a property |
|
void |
bindingError(BindingError error, java.lang.Object errors) Called when an error occurs binding to a property |
|
boolean |
supports(java.lang.Class<?> clazz) @return true if the listener is interested in events for the specified type. |
Called after data binding has been imposed on a property
target
- The object data binding is being imposed uponpropertyName
- The name of the property that was bound toerrors
- the Spring Errors instance (a org.springframework.validation.BindingResult)Called after data binding has finished.
target
- The object data binding is being imposed uponerrors
- the Spring Errors instance (a org.springframework.validation.BindingResult)Called when data binding is about to start.
target
- The object data binding is being imposed uponerrors
- the Spring Errors instance (a org.springframework.validation.BindingResult)Called when data binding is about to imposed on a property
target
- The object data binding is being imposed uponpropertyName
- The name of the property being bound tovalue
- The value of the property being bounderrors
- the Spring Errors instance (a org.springframework.validation.BindingResult)Called when an error occurs binding to a property
error
- encapsulates information about the binding errorerrors
- the Spring Errors instance (a org.springframework.validation.BindingResult)