@Documented @Constraint(validatedBy=NotBlankValidator.class) @Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) @NotNull public @interface NotBlank
Validate that a string should be not empty or consists of only whitespaces.
Compared to NullableNotBlank this validator will not accept null values as valid.
Copyright © 2014-2016 Konik.io. All Rights Reserved.