Package nablarch.core.validation.ee
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(Length constraintAnnotation) boolean
isValid
(CharSequence value, jakarta.validation.ConstraintValidatorContext context)
-
Constructor Details
-
LengthValidator
public LengthValidator()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfacejakarta.validation.ConstraintValidator<Length,
CharSequence>
-
isValid
- Specified by:
isValid
in interfacejakarta.validation.ConstraintValidator<Length,
CharSequence>
-