@NonNullApi
程序包 org.springframework.batch.item.validator
Infrastructure implementations of item validator concerns.
接口概要 接口 说明 Validator<T> Interface used to validate objects.类概要 类 说明 BeanValidatingItemProcessor<T> AValidatingItemProcessor
that uses the Bean Validation API (JSR-303) to validate items.SpringValidator<T> Adapts theValidator
interface toValidator
.ValidatingItemProcessor<T> Simple implementation ofItemProcessor
that validates input and returns it without modifications.异常错误概要 异常错误 说明 ValidationException This exception should be thrown when there are validation errors.