Package play.data.validation
Class Constraints.ValidateValidator
- Object
-
- play.data.validation.Constraints.ValidateValidator
-
- All Implemented Interfaces:
javax.validation.ConstraintValidator<Constraints.Validate,Constraints.Validatable<?>>
,Constraints.PlayConstraintValidator<Constraints.Validate,Constraints.Validatable<?>>
- Enclosing class:
- Constraints
public static class Constraints.ValidateValidator extends Object implements Constraints.PlayConstraintValidator<Constraints.Validate,Constraints.Validatable<?>>
-
-
Constructor Summary
Constructors Constructor Description ValidateValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(Constraints.Validate constraintAnnotation)
boolean
isValid(Constraints.Validatable<?> value, javax.validation.ConstraintValidatorContext constraintValidatorContext)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface play.data.validation.Constraints.PlayConstraintValidator
reportValidationStatus, validationSuccessful
-
-
-
-
Method Detail
-
initialize
public void initialize(Constraints.Validate constraintAnnotation)
- Specified by:
initialize
in interfacejavax.validation.ConstraintValidator<Constraints.Validate,Constraints.Validatable<?>>
-
isValid
public boolean isValid(Constraints.Validatable<?> value, javax.validation.ConstraintValidatorContext constraintValidatorContext)
- Specified by:
isValid
in interfacejavax.validation.ConstraintValidator<Constraints.Validate,Constraints.Validatable<?>>
-
-