Class EmailAddressValidator
java.lang.Object
org.exoplatform.webui.form.validator.AbstractValidator
org.exoplatform.webui.form.validator.MultipleConditionsValidator
org.exoplatform.webui.form.validator.EmailAddressValidator
- All Implemented Interfaces:
Serializable,Validator
Created by The eXo Platform SARL Author : Dang Van Minh minhdv81@yahoo.com Jun 7, 2006
Validates whether an email is in the correct format Valid characters that can be used in a domain name are: a-z 0-9 - (dash)
or . (dot) but not as a starting or ending character . (dot) as a separator for the textual portions of a domain name
Valid characters that can be used in a local part are: a-z 0-9 - (dash) or _ (underscore) or . (dot) or & (ampersand) but not as a starting or
ending character and not appear two or more times consecutively
- See Also:
-
Field Summary
Fields inherited from class org.exoplatform.webui.form.validator.AbstractValidator
exceptionOnMissingMandatory, trimValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvalidate(String value, String label, org.exoplatform.web.application.CompoundApplicationMessage messages, UIFormInput uiInput) Methods inherited from class org.exoplatform.webui.form.validator.MultipleConditionsValidator
getMessageLocalizationKey, isValid, validateMethods inherited from class org.exoplatform.webui.form.validator.AbstractValidator
createMessageException, createMessageException, getLabelFor, getMessageArgs, trimmedValueOrNullIfBypassed
-
Constructor Details
-
EmailAddressValidator
public EmailAddressValidator()
-
-
Method Details
-
validate
protected void validate(String value, String label, org.exoplatform.web.application.CompoundApplicationMessage messages, UIFormInput uiInput) - Specified by:
validatein classMultipleConditionsValidator
-