| Modifier and Type | Class and Description |
|---|---|
static class |
PhoneNumber.Rel
The phone number type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
label
Label.
|
protected String |
phoneNumber
Human-readable phone number.
|
protected boolean |
primary
Whether this is the primary phone number
|
protected String |
rel
The phone number type.
|
protected String |
uri
"Tel URI" (formal representation of number; see RFC 3966).
|
| Constructor and Description |
|---|
PhoneNumber() |
| 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() |
String |
getPhoneNumber() |
boolean |
getPrimary() |
String |
getRel() |
String |
getUri() |
void |
setLabel(String v) |
void |
setPhoneNumber(String v) |
void |
setPrimary(boolean p) |
void |
setRel(String v) |
void |
setUri(String v) |
protected String rel
protected String label
protected String uri
protected String phoneNumber
protected boolean primary
public String getRel()
public void setRel(String v)
public String getLabel()
public void setLabel(String v)
public String getUri()
public void setUri(String v)
public String getPhoneNumber()
public void setPhoneNumber(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.