Module org.apache.wicket.core
Class EmailAddressValidator
java.lang.Object
org.apache.wicket.validation.validator.PatternValidator
org.apache.wicket.validation.validator.EmailAddressValidator
- All Implemented Interfaces:
Serializable
,IClusterable
,IValidator<String>
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 see
org.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:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Protected constructor to force use of static singleton accessor. -
Method Summary
Modifier and TypeMethodDescriptionstatic EmailAddressValidator
Retrieves the singleton instance ofEmailAddressValidator
.Methods inherited from class org.apache.wicket.validation.validator.PatternValidator
decorate, getPattern, setReverse, toString, validate
-
Constructor Details
-
EmailAddressValidator
protected EmailAddressValidator()Protected constructor to force use of static singleton accessor. Override this constructor to implement resourceKey(Component).
-
-
Method Details
-
getInstance
Retrieves the singleton instance ofEmailAddressValidator
.- Returns:
- the singleton instance of
EmailAddressValidator
-