| java.lang.Object |
| ↳ |
com.google.gdata.data.extensions.PostalAddress |
Class Overview
GData schema extension describing a postal address.
Summary
| Nested Classes |
|
class |
PostalAddress.Rel |
The postal address type. |
| Fields |
|
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. |
|
[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
boolean
primary
Whether this is the primary postal address
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
boolean
getPrimary
()
public
String
getValue
()
public
void
setLabel
(String v)
public
void
setPrimary
(boolean p)
public
void
setRel
(String v)
public
void
setValue
(String v)