Class Length.LengthValidator

java.lang.Object
nablarch.core.validation.ee.Length.LengthValidator
All Implemented Interfaces:
jakarta.validation.ConstraintValidator<Length,CharSequence>
Enclosing class:
Length

public static class Length.LengthValidator extends Object implements jakarta.validation.ConstraintValidator<Length,CharSequence>
文字列長のバリデーションを行うConstraintValidator実装クラス。
  • Constructor Details

    • LengthValidator

      public LengthValidator()
  • Method Details

    • initialize

      public void initialize(Length constraintAnnotation)
      Specified by:
      initialize in interface jakarta.validation.ConstraintValidator<Length,CharSequence>
    • isValid

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