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 Details

    • EmailAddressValidator

      Protected constructor to force use of static singleton accessor. Override this constructor to implement resourceKey(Component).
  • Method Details

    • getInstance

      Retrieves the singleton instance of EmailAddressValidator.
      Returns:
      the singleton instance of EmailAddressValidator