Class NotBlankValidator

  • All Implemented Interfaces:
    Provider, ProviderFactory<Validator>, SimpleValidator, Validator, ValidatorFactory

    public class NotBlankValidator
    extends Object
    implements SimpleValidator
    Validate that value exists and is not empty nor blank. Supports String and collection of Strings as input. For collection of Strings input has to contain at least one element and it have to be non-blank to satisfy this validation. If collection contains something else than String, or if even one String in it is blank, then this validation fails.
    See Also:
    NotEmptyValidator