public static class Constraints.EmailValidator extends Constraints.Validator<String> implements javax.validation.ConstraintValidator<Constraints.Email,String>
@Email
fields.Constructor and Description |
---|
EmailValidator() |
Modifier and Type | Method and Description |
---|---|
F.Tuple<String,Object[]> |
getErrorMessageKey() |
void |
initialize(Constraints.Email constraintAnnotation) |
boolean |
isValid(String object) |
isValid
public static final String message
public void initialize(Constraints.Email constraintAnnotation)
initialize
in interface javax.validation.ConstraintValidator<Constraints.Email,String>
public boolean isValid(String object)
isValid
in class Constraints.Validator<String>
object
- the value to test.true
if this value is valid.public F.Tuple<String,Object[]> getErrorMessageKey()
getErrorMessageKey
in class Constraints.Validator<String>