Class EmailAddressValidator
- java.lang.Object
-
- org.apache.wicket.validation.validator.PatternValidator
-
- org.apache.wicket.validation.validator.EmailAddressValidator
-
- All Implemented Interfaces:
Serializable
,IClusterable
,IValidator<String>
public class EmailAddressValidator extends PatternValidator
Validator for checking the form/pattern of email addresses. NOTICE: This validator only checks the most commonly used email address patterns. For a validator that can check the entire range of rfc compliant email addresses seeorg.apache.wicket.extensions.validation.validator.RfcCompliantEmailAddressValidator
Also see org.apache.wicket.extensions.validation.validator.RfcCompliantEmailAddressValidator
- Since:
- 1.3
- Author:
- Chris Turner, Jonathan Locke, Martijn Dashorst, Al Maw
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
EmailAddressValidator()
Protected constructor to force use of static singleton accessor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EmailAddressValidator
getInstance()
Retrieves the singleton instance ofEmailAddressValidator
.-
Methods inherited from class org.apache.wicket.validation.validator.PatternValidator
decorate, getPattern, setReverse, toString, validate
-
-
-
-
Constructor Detail
-
EmailAddressValidator
protected EmailAddressValidator()
Protected constructor to force use of static singleton accessor. Override this constructor to implement resourceKey(Component).
-
-
Method Detail
-
getInstance
public static EmailAddressValidator getInstance()
Retrieves the singleton instance ofEmailAddressValidator
.- Returns:
- the singleton instance of
EmailAddressValidator
-
-