public class EMailValidation extends Object implements Validation
Constructor and Description |
---|
EMailValidation() |
Modifier and Type | Method and Description |
---|---|
Pattern |
getPattern() |
void |
setPattern(Pattern pattern) |
<T extends ValidationListener> |
validate(ValidationContext<T> context)
Perform a single validation routine.
|
public <T extends ValidationListener> void validate(ValidationContext<T> context)
Validation
validate
in interface Validation
context
- - to access the property, value, constraintspublic Pattern getPattern()
public void setPattern(Pattern pattern)
Copyright © 2010–2019 The Apache Software Foundation. All rights reserved.