public final class EmailAttribute extends AbstractFormatAttribute
email format attribute.
Important note: the basis for email format validation is RFC 5322. The RFC mandates that
email addresses have a domain part. However, that domain part may consist of
a single domain name component. As such, foo@bar is considered valid.
| Modifier and Type | Method and Description |
|---|---|
static FormatAttribute |
getInstance() |
void |
validate(ProcessingReport report,
ValidationData data)
Validate the instance against this format attribute
|
newMsg, supportedTypespublic static FormatAttribute getInstance()
public void validate(ProcessingReport report, ValidationData data) throws ProcessingException
FormatAttributereport - the report to usedata - the validation dataProcessingException - an exception occurs (normally, never for a
format attribute)Copyright © 2013. All Rights Reserved.