Package org.apache.bval.constraints
Class NotBlankValidator
- java.lang.Object
-
- org.apache.bval.constraints.NotBlankValidator
-
- All Implemented Interfaces:
jakarta.validation.ConstraintValidator<jakarta.validation.constraints.NotBlank,CharSequence>
public class NotBlankValidator extends Object implements jakarta.validation.ConstraintValidator<jakarta.validation.constraints.NotBlank,CharSequence>
ValidateNotBlank
forCharSequence
.
-
-
Constructor Summary
Constructors Constructor Description NotBlankValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValid(CharSequence value, jakarta.validation.ConstraintValidatorContext context)
-
-
-
Method Detail
-
isValid
public boolean isValid(CharSequence value, jakarta.validation.ConstraintValidatorContext context)
- Specified by:
isValid
in interfacejakarta.validation.ConstraintValidator<jakarta.validation.constraints.NotBlank,CharSequence>
-
-