Class HasStringValidator

  • All Implemented Interfaces:
    jakarta.validation.ConstraintValidator<HasValue,​String>

    public class HasStringValidator
    extends Object
    implements jakarta.validation.ConstraintValidator<HasValue,​String>
    Description:
    • Constructor Detail

      • HasStringValidator

        public HasStringValidator()
    • Method Detail

      • initialize

        public void initialize​(HasValue stringValues)
        Specified by:
        initialize in interface jakarta.validation.ConstraintValidator<HasValue,​String>
      • isValid

        public boolean isValid​(String s,
                               jakarta.validation.ConstraintValidatorContext constraintValidatorContext)
        Specified by:
        isValid in interface jakarta.validation.ConstraintValidator<HasValue,​String>