ConstraintValidator.
| Modifier and Type | Field and Description |
|---|---|
| private static final Log | |
| private final Type | |
| private final EnumSet | |
| private final Class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static EnumSet | |
| public Type | getValidatedType()
Implements org. |
| public EnumSet | getValidationTargets()
The targets supported for validation by the represented validator.
|
| public Class | getValidatorClass()
Implements org. |
| public ConstraintValidator | newInstance(ConstraintValidatorFactory constraintValidatorFactory)
Implements org. |
| public static <T extends Annotation> ClassBasedValidatorDescriptor | of(Class<? extends ConstraintValidator<T, ?>> validatorClass, Class<? extends Annotation> registeredConstraintAnnotationType)
|
| public static <T extends Annotation> ClassBasedValidatorDescriptor | ofBuiltin(Class<? extends ConstraintValidator<T, ?>> validatorClass, Class<? extends Annotation> registeredConstraintAnnotationType)
Constraint checking is relaxed for built-in constraints as they have been carefully crafted so we are sure types are right. |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| validatedType | back to summary |
|---|---|
| private final Type validatedType | |
| validationTargets | back to summary |
|---|---|
| private final EnumSet<ValidationTarget> validationTargets | |
| validatorClass | back to summary |
|---|---|
| private final Class<? extends ConstraintValidator<A, ?>> validatorClass | |
| ClassBasedValidatorDescriptor | back to summary |
|---|---|
| private ClassBasedValidatorDescriptor(Class<? extends ConstraintValidator<A, ?>> validatorClass) | |
| determineValidationTargets | back to summary |
|---|---|
| private static EnumSet | |
| getValidatedType | back to summary |
|---|---|
| public Type getValidatedType() Implements org. The data type validated by the represented validator (not the constraint annotation type).
| |
| getValidationTargets | back to summary |
|---|---|
| public EnumSet The targets supported for validation by the represented validator.
| |
| getValidatorClass | back to summary |
|---|---|
| public Class Implements org. The implementation type of the represented validator.
| |
| newInstance | back to summary |
|---|---|
| public ConstraintValidator Implements org. Creates a new instance of the represented implementation type.
| |
| of | back to summary |
|---|---|
| public static <T extends Annotation> ClassBasedValidatorDescriptor | |
| ofBuiltin | back to summary |
|---|---|
| public static <T extends Annotation> ClassBasedValidatorDescriptor Constraint checking is relaxed for built-in constraints as they have been carefully crafted so we are sure types are right. | |