spring-framework / org.springframework.validation / ValidationUtils / <init>

<init>

ValidationUtils()

Utility class offering convenient methods for invoking a Validator and for rejecting empty fields.

Checks for an empty field in Validator implementations can become one-liners when using #rejectIfEmpty or #rejectIfEmptyOrWhitespace.

Author
Juergen Hoeller

Author
Dmitriy Kopylenko

Since
06.05.2003

See Also
ValidatorErrors