| 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 | Interface and Description | 
|---|---|
| interface  | SmartValidatorExtended variant of the  Validatorinterface, adding support for
 validation 'hints'. | 
| Modifier and Type | Method and Description | 
|---|---|
| Validator | DataBinder. getValidator()Return the primary Validator to apply after each binding step, if any. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Validator> | DataBinder. getValidators()Return the Validators to apply after data binding. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DataBinder. addValidators(Validator... validators)Add Validators to apply after each binding step. | 
| static void | ValidationUtils. invokeValidator(Validator validator,
               Object target,
               Errors errors) | 
| static void | ValidationUtils. invokeValidator(Validator validator,
               Object target,
               Errors errors,
               Object... validationHints) | 
| void | DataBinder. replaceValidators(Validator... validators)Replace the Validators to apply after each binding step. | 
| void | DataBinder. setValidator(Validator validator)Set the Validator to apply after each binding step. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | CustomValidatorBeanConfigurable bean class that exposes a specific JSR-303 Validator
 through its original interface as well as through the Spring
  Validatorinterface. | 
| class  | LocalValidatorFactoryBeanThis is the central class for  javax.validation(JSR-303) setup in a Spring
 application context: It bootstraps ajavax.validation.ValidationFactoryand
 exposes it through the SpringValidatorinterface
 as well as through the JSR-303Validatorinterface and theValidatorFactoryinterface itself. | 
| class  | OptionalValidatorFactoryBeanLocalValidatorFactoryBeansubclass that simply turnsValidatorcalls into no-ops
 in case of no Bean Validation provider being available. | 
| class  | SpringValidatorAdapterAdapter that takes a JSR-303  javax.validator.Validatorand
 exposes it as a SpringValidatorwhile also exposing the original JSR-303 Validator interface itself. |