| Modifier and Type | Class and Description |
|---|---|
static class |
PostalAddress.Rel
The postal address type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
label
Label.
|
protected boolean |
primary
Whether this is the primary postal address
|
protected String |
rel
The postal address type.
|
protected String |
value
Address string.
|
| Constructor and Description |
|---|
PostalAddress() |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(XmlWriter w,
ExtensionProfile extProfile)
Generates an XML representation for the extension.
|
static ExtensionDescription |
getDefaultDescription()
Returns the suggested extension description.
|
XmlParser.ElementHandler |
getHandler(ExtensionProfile extProfile,
String namespace,
String localName,
Attributes attrs)
Gets an XML element handler for the extension.
|
String |
getLabel() |
boolean |
getPrimary() |
String |
getRel() |
String |
getValue() |
void |
setLabel(String v) |
void |
setPrimary(boolean p) |
void |
setRel(String v) |
void |
setValue(String v) |
protected String rel
protected String label
protected String value
protected boolean primary
public String getRel()
public void setRel(String v)
public String getLabel()
public void setLabel(String v)
public String getValue()
public void setValue(String v)
public boolean getPrimary()
public void setPrimary(boolean p)
public static ExtensionDescription getDefaultDescription()
public void generate(XmlWriter w, ExtensionProfile extProfile) throws IOException
Extensiongenerate in interface Extensionw - XML writerextProfile - extension profileIOExceptionpublic XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)
ExtensiongetHandler in interface ExtensionextProfile - extension profilenamespace - extension namespacelocalName - tag name, without the namespace prefixattrs - tag attributesCopyright © 2012. All Rights Reserved.