Package org.apache.bval.constraints
Class NotEmptyValidator
- java.lang.Object
-
- org.apache.bval.constraints.NotEmptyValidator
-
- All Implemented Interfaces:
jakarta.validation.ConstraintValidator<jakarta.validation.constraints.NotEmpty,Object>
public class NotEmptyValidator extends Object implements jakarta.validation.ConstraintValidator<jakarta.validation.constraints.NotEmpty,Object>
ConstraintValidator
implementation forNotEmpty
. Additionally, check the non-emptiness of an any object that has a public isEmpty():boolean or a valid toString() method.
-
-
Constructor Summary
Constructors Constructor Description NotEmptyValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValid(Object value, jakarta.validation.ConstraintValidatorContext context)
-