public class ValidatorUtils extends Object
| Constructor and Description |
|---|
ValidatorUtils() |
| Modifier and Type | Method and Description |
|---|---|
static List<Error> |
invokeValidator(Validator validator,
Object obj) |
static <T> List<Error> |
rejectIfEmpty(T property) |
static <T> List<Error> |
rejectIfNotMatchRegex(T property,
String regex) |
static <T> List<Error> |
rejectIfNull(T property) |
static <T> List<Error> |
rejectIfNullOrEmptyOrWhitespace(T property) |
static <T> List<Error> |
rejectIfSizeOutOfBounds(T property,
double min,
double max) |
static <T> List<Error> |
rejectIfWhitespace(T property) |
Copyright © 2014. All Rights Reserved.