Class EmailValidator
- java.lang.Object
-
- org.sourceid.saml20.adapter.gui.validation.impl.RegExValidator
-
- org.sourceid.saml20.adapter.gui.validation.impl.EmailValidator
-
- All Implemented Interfaces:
Serializable,FieldValidator
public class EmailValidator extends RegExValidator
Validates an email address using a simple regular expression.A more thorough validator could be based on Apache Commons Validator library, but a more relaxed validation like this one has its advantages when validating email like strings, not very strict email addresses (Salesforce usernames for example).
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.sourceid.saml20.adapter.gui.validation.impl.RegExValidator
DEFAULT_MESSAGE_FORMAT
-
-
Constructor Summary
Constructors Constructor Description EmailValidator()
-
Method Summary
-
Methods inherited from class org.sourceid.saml20.adapter.gui.validation.impl.RegExValidator
setMessageFormat, validate
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.sourceid.saml20.adapter.gui.validation.FieldValidator
isExternalValidator
-
-