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,
MessageBundle bundle,
FullData data)
Validate the instance against this format attribute
|
newMsg, supportedTypespublic static FormatAttribute getInstance()
public void validate(ProcessingReport report, MessageBundle bundle, FullData data) throws ProcessingException
FormatAttributereport - the report to usebundle - the message bundle to usedata - the validation dataProcessingException - an exception occurs (normally, never for a
format attribute)