Java org.springframework.validation ValidationUtils fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.validation ValidationUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.validation ValidationUtils.

The text is from its open source code.

Subclass

org.springframework.validation.ValidationUtils has subclasses.
Click this link to see all its subclasses.

Method

voidinvokeValidator(Validator validator, Object target, Errors errors)
Invoke the given Validator for the supplied object and Errors instance.
voidinvokeValidator(Validator validator, Object target, Errors errors, @Nullable Object... validationHints)
Invoke the given Validator / SmartValidator for the supplied object and Errors instance.
voidrejectIfEmpty(Errors errors, String field, String errorCode)
Reject the given field with the given error code if the value is empty.
voidrejectIfEmpty(Errors errors, String field, String errorCode, String defaultMessage)
Reject the given field with the given error code and default message if the value is empty.
voidrejectIfEmpty(Errors errors, String field, String errorCode, Object[] errorArgs)
Reject the given field with the given error code and error arguments if the value is empty.
voidrejectIfEmpty(Errors errors, String field, String errorCode, @Nullable Object[] errorArgs, @Nullable String defaultMessage)
Reject the given field with the given error code, error arguments and default message if the value is empty.
voidrejectIfEmptyOrWhitespace(Errors errors, String field, String errorCode)
Reject the given field with the given error code if the value is empty or just contains whitespace.
voidrejectIfEmptyOrWhitespace(Errors errors, String field, String errorCode, String defaultMessage)
Reject the given field with the given error code and default message if the value is empty or just contains whitespace.
voidrejectIfEmptyOrWhitespace(Errors errors, String field, String errorCode, @Nullable Object[] errorArgs)
Reject the given field with the given error code and error arguments if the value is empty or just contains whitespace.
voidrejectIfEmptyOrWhitespace(Errors errors, String field, String errorCode, @Nullable Object[] errorArgs, @Nullable String defaultMessage)
Reject the given field with the given error code, error arguments and default message if the value is empty or just contains whitespace.