public class Email extends ExtensionPoint implements Extension
| Modifier and Type | Class and Description |
|---|---|
static class |
Email.Rel
The email type.
|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandlerAbstractExtension.AttributesHandler| Modifier and Type | Field and Description |
|---|---|
protected String |
address
Email address.
|
protected String |
displayName
Display name of the email address
|
protected String |
label
Label.
|
protected boolean |
primary
Whether this is the primary email address
|
protected String |
quota
Email quota.
|
protected String |
rel
The email type.
|
xmlBloblocalName, namespace| Constructor and Description |
|---|
Email() |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(XmlWriter w,
ExtensionProfile extProfile)
Generates an XML representation for the extension.
|
String |
getAddress() |
static ExtensionDescription |
getDefaultDescription()
Returns the suggested extension description.
|
String |
getDisplayName() |
XmlParser.ElementHandler |
getHandler(ExtensionProfile extProfile,
String namespace,
String localName,
Attributes attrs)
The default implementation uses the
AbstractExtension.AttributesHandler to handle
parsing the extension. |
String |
getLabel() |
boolean |
getPrimary() |
String |
getQuota() |
String |
getRel() |
void |
setAddress(String v) |
void |
setDisplayName(String n) |
void |
setLabel(String v) |
void |
setPrimary(boolean p) |
void |
setQuota(String v) |
void |
setRel(String v) |
addExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, createExtensionInstance, declareExtensions, generate, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, getExtensionDescription, getExtensionHandler, getExtensions, getManifest, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit, visitChild, visitChildrenconsumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validateprotected String rel
protected String label
protected String address
protected String quota
protected boolean primary
protected String displayName
public String getRel()
public void setRel(String v)
public String getLabel()
public void setLabel(String v)
public String getAddress()
public void setAddress(String v)
public String getQuota()
public void setQuota(String v)
public boolean getPrimary()
public void setPrimary(boolean p)
public String getDisplayName()
public void setDisplayName(String n)
public static ExtensionDescription getDefaultDescription()
public void generate(XmlWriter w, ExtensionProfile extProfile) throws IOException
Extensiongenerate in interface Extensiongenerate in class AbstractExtensionw - XML writerextProfile - extension profileIOExceptionpublic XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)
AbstractExtensionAbstractExtension.AttributesHandler to handle
parsing the extension.getHandler in interface ExtensiongetHandler in class ExtensionPointextProfile - extension profilenamespace - extension namespacelocalName - tag name, without the namespace prefixattrs - tag attributesCopyright © 2012. All Rights Reserved.