Class NotEmptyValidatorForCharSequence

  • All Implemented Interfaces:
    jakarta.validation.ConstraintValidator<jakarta.validation.constraints.NotEmpty,​CharSequence>

    public class NotEmptyValidatorForCharSequence
    extends Object
    implements jakarta.validation.ConstraintValidator<jakarta.validation.constraints.NotEmpty,​CharSequence>
    Description:
    • Constructor Detail

      • NotEmptyValidatorForCharSequence

        public NotEmptyValidatorForCharSequence()
    • Method Detail

      • isValid

        public boolean isValid​(CharSequence value,
                               jakarta.validation.ConstraintValidatorContext context)
        Specified by:
        isValid in interface jakarta.validation.ConstraintValidator<jakarta.validation.constraints.NotEmpty,​CharSequence>