| Package | Description | 
|---|---|
| org.springframework.validation | Provides data binding and validation functionality,
 for usage in business and/or UI layers. | 
| org.springframework.validation.beanvalidation | Support classes for integrating a JSR-303 Bean Validation provider
 (such as Hibernate Validator) into a Spring ApplicationContext
 and in particular with Spring's data binding and validation APIs. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractBindingResultAbstract implementation of the  BindingResultinterface and
 its super-interfaceErrors. | 
| class  | AbstractPropertyBindingResultAbstract base class for  BindingResultimplementations that work with
 Spring'sPropertyAccessormechanism. | 
| class  | BeanPropertyBindingResultDefault implementation of the  ErrorsandBindingResultinterfaces, for the registration and evaluation of binding errors on
 JavaBean objects. | 
| class  | BindExceptionThrown when binding errors are considered fatal. | 
| class  | DirectFieldBindingResultSpecial implementation of the Errors and BindingResult interfaces,
 supporting registration and evaluation of binding errors on value objects. | 
| class  | MapBindingResultMap-based implementation of the BindingResult interface,
 supporting registration and evaluation of binding errors on
 Map attributes. | 
| Modifier and Type | Method and Description | 
|---|---|
| BindingResult | DataBinder. getBindingResult()Return the BindingResult instance created by this DataBinder. | 
| BindingResult | BindException. getBindingResult()Return the BindingResult that this BindException wraps. | 
| static BindingResult | BindingResultUtils. getBindingResult(Map<?,?> model,
                String name)Find the BindingResult for the given name in the given model. | 
| static BindingResult | BindingResultUtils. getRequiredBindingResult(Map<?,?> model,
                        String name)Find a required BindingResult for the given name in the given model. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DefaultBindingErrorProcessor. processMissingFieldError(String missingField,
                        BindingResult bindingResult) | 
| void | BindingErrorProcessor. processMissingFieldError(String missingField,
                        BindingResult bindingResult)Apply the missing field error to the given BindException. | 
| void | DefaultBindingErrorProcessor. processPropertyAccessException(org.springframework.beans.PropertyAccessException ex,
                              BindingResult bindingResult) | 
| void | BindingErrorProcessor. processPropertyAccessException(org.springframework.beans.PropertyAccessException ex,
                              BindingResult bindingResult)Translate the given  PropertyAccessExceptionto an appropriate
 error registered on the givenErrorsinstance. | 
| Constructor and Description | 
|---|
| BindException(BindingResult bindingResult)Create a new BindException instance for a BindingResult. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Object | SpringValidatorAdapter. getRejectedValue(String field,
                ConstraintViolation<Object> violation,
                BindingResult bindingResult)Extract the rejected value behind the given constraint violation,
 for exposure through the Spring errors representation. |