| java.lang.Object |
| ↳ |
com.google.gdata.data.extensions.PhoneNumber |
Class Overview
GData schema extension describing a phone number.
Summary
| Nested Classes |
|
class |
PhoneNumber.Rel |
The phone number type. |
| Fields |
|
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). |
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
com.google.gdata.data.Extension
|
Fields
protected
String
phoneNumber
Human-readable phone number.
protected
boolean
primary
Whether this is the primary phone number
protected
String
uri
"Tel URI" (formal representation of number; see RFC 3966).
Public Constructors
Public Methods
Generates an XML representation for the extension.
Parameters
| w
| XML writer |
| extProfile
| Extension profile
|
Returns the suggested extension description.
public
XmlParser.ElementHandler
getHandler
(ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)
Gets an XML element handler for the extension.
Parameters
| extProfile
| Extension profile |
| namespace
| Extension namespace |
| localName
| Tag name, without the namespace prefix |
| attrs
| Tag attributes |
public
String
getLabel
()
public
String
getPhoneNumber
()
public
boolean
getPrimary
()
public
void
setLabel
(String v)
public
void
setPhoneNumber
(String v)
public
void
setPrimary
(boolean p)
public
void
setRel
(String v)
public
void
setUri
(String v)