| java.lang.Object | |||
| ↳ | com.google.gdata.data.AbstractExtension | ||
| ↳ | com.google.gdata.data.ExtensionPoint | ||
| ↳ | com.google.gdata.data.extensions.StructuredPostalAddress | ||
Describes a structured postal address.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| StructuredPostalAddress.MailClass | The mail class. | ||||||||||
| StructuredPostalAddress.Rel | The postal address type. | ||||||||||
| StructuredPostalAddress.Usage | The context for the address use. | ||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | LABEL | XML "label" attribute name | |||||||||
| String | MAILCLASS | XML "mailClass" attribute name | |||||||||
| String | PRIMARY | XML "primary" attribute name | |||||||||
| String | REL | XML "rel" attribute name | |||||||||
| String | USAGE | XML "usage" attribute name | |||||||||
| String | XML_NAME | XML element name | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| label | Simple string value used to name this address | ||||||||||
| mailClass | The mail class | ||||||||||
| primary | Whether this is the primary postal address | ||||||||||
| rel | The postal address type | ||||||||||
| usage | The context for the address use | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Default mutable constructor.
| |||||||||||
Immutable constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile.
| |||||||||||
Returns the Used in work addresses.
| |||||||||||
Returns the Can be city, village, town, borough, etc.
| |||||||||||
Returns the The country name.
| |||||||||||
Returns the extension description, specifying whether it is required, and
whether it is repeatable.
| |||||||||||
Returns the The full, unstructured address.
| |||||||||||
Returns the Used in places where houses or buildings have names.
| |||||||||||
Returns the Simple string value used to name this address.
| |||||||||||
Returns the The mail class.
| |||||||||||
Returns the Neighborhood.
| |||||||||||
Returns the P.O.
| |||||||||||
Returns the Postal code.
| |||||||||||
Returns the whether this is the primary postal address.
| |||||||||||
Returns the Region is state, province, county (in Ireland), Land (in
Germany), departement (in France), etc.
| |||||||||||
Returns the the postal address type.
| |||||||||||
Returns the Can be street, avenue, road, etc.
| |||||||||||
Returns the Subregion is county (US), province (in Italy), etc.
| |||||||||||
Returns the The context for the address use.
| |||||||||||
Returns whether it has the Used in work addresses.
| |||||||||||
Returns whether it has the Can be city, village, town, borough, etc.
| |||||||||||
Returns whether it has the The country name.
| |||||||||||
Returns whether it has the The full, unstructured address.
| |||||||||||
Returns whether it has the Used in places where houses or buildings have
names.
| |||||||||||
Returns whether it has the Simple string value used to name this address.
| |||||||||||
Returns whether it has the The mail class.
| |||||||||||
Returns whether it has the Neighborhood.
| |||||||||||
Returns whether it has the P.O.
| |||||||||||
Returns whether it has the Postal code.
| |||||||||||
Returns whether it has the whether this is the primary postal address.
| |||||||||||
Returns whether it has the Region is state, province, county (in Ireland),
Land (in Germany), departement (in France), etc.
| |||||||||||
Returns whether it has the the postal address type.
| |||||||||||
Returns whether it has the Can be street, avenue, road, etc.
| |||||||||||
Returns whether it has the Subregion is county (US), province (in Italy),
etc.
| |||||||||||
Returns whether it has the The context for the address use.
| |||||||||||
Sets the Used in work addresses.
| |||||||||||
Sets the Can be city, village, town, borough, etc.
| |||||||||||
Sets the The country name.
| |||||||||||
Sets the The full, unstructured address.
| |||||||||||
Sets the Used in places where houses or buildings have names.
| |||||||||||
Sets the Simple string value used to name this address.
| |||||||||||
Sets the The mail class.
| |||||||||||
Sets the Neighborhood.
| |||||||||||
Sets the P.O.
| |||||||||||
Sets the Postal code.
| |||||||||||
Sets the whether this is the primary postal address.
| |||||||||||
Sets the Region is state, province, county (in Ireland), Land (in Germany),
departement (in France), etc.
| |||||||||||
Sets the the postal address type.
| |||||||||||
Sets the Can be street, avenue, road, etc.
| |||||||||||
Sets the Subregion is county (US), province (in Italy), etc.
| |||||||||||
Sets the The context for the address use.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Consumes attributes from the attribute helper.
| |||||||||||
Puts attributes into the attribute generator.
| |||||||||||
Checks the attributes to see if there are any problems.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.Extension
| |||||||||||
XML "label" attribute name
XML "mailClass" attribute name
XML "primary" attribute name
XML "rel" attribute name
XML "usage" attribute name
XML element name
Simple string value used to name this address
The mail class
Whether this is the primary postal address
The postal address type
The context for the address use
Default mutable constructor.
Immutable constructor.
| label | Simple string value used to name this address. |
|---|---|
| mailClass | The mail class. |
| primary | Whether this is the primary postal address. |
| rel | The postal address type. |
| usage | The context for the address use. |
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. The base implementation does not declare any extensions, but can be overridden by specific types of ExtensionPoints that always contain a well-defined set of extensions.
| extProfile | The ExtensionProfile to initialize. |
|---|
Returns the Used in work addresses. Also for 'in care of' or 'c/o'.
Returns the Can be city, village, town, borough, etc.
Returns the extension description, specifying whether it is required, and whether it is repeatable.
| required | Whether it is required |
|---|---|
| repeatable | Whether it is repeatable |
Returns the The full, unstructured address.
Returns the Used in places where houses or buildings have names.
Returns the Simple string value used to name this address.
Returns the The mail class.
Returns the Neighborhood. Used to disambiguate a street.
Returns the whether this is the primary postal address.
Returns the Region is state, province, county (in Ireland), Land (in Germany), departement (in France), etc.
Returns the the postal address type.
Returns the Can be street, avenue, road, etc. This element also includes the house number and room/apartment/flat/floor number.
Returns the Subregion is county (US), province (in Italy), etc.
Returns the The context for the address use.
Returns whether it has the Used in work addresses. Also for 'in care of' or 'c/o'.
Returns whether it has the Can be city, village, town, borough, etc.
Returns whether it has the The country name.
Returns whether it has the The full, unstructured address.
Returns whether it has the Used in places where houses or buildings have names.
Returns whether it has the Simple string value used to name this address.
Returns whether it has the The mail class.
Returns whether it has the Neighborhood. Used to disambiguate a street.
Returns whether it has the P.O. box.
Returns whether it has the Postal code.
Returns whether it has the whether this is the primary postal address.
Returns whether it has the Region is state, province, county (in Ireland), Land (in Germany), departement (in France), etc.
Returns whether it has the the postal address type.
Returns whether it has the Can be street, avenue, road, etc. This element also includes the house number and room/apartment/flat/floor number.
Returns whether it has the Subregion is county (US), province (in Italy), etc.
Returns whether it has the The context for the address use.
Sets the Used in work addresses. Also for 'in care of' or 'c/o'.
| agent | Used in work addresses. Also for 'in care of' or 'c/o' or
null to reset
|
|---|
Sets the Can be city, village, town, borough, etc.
| city | Can be city, village, town, borough, etc or null
to reset
|
|---|
Sets the The country name.
| country | The country name or null to reset
|
|---|
Sets the The full, unstructured address.
| formattedAddress | The full, unstructured address or null
to reset
|
|---|
Sets the Used in places where houses or buildings have names.
| housename | Used in places where houses or buildings have names or
null to reset
|
|---|
Sets the Simple string value used to name this address.
| label | Simple string value used to name this address or
null to reset
|
|---|
Sets the The mail class.
| mailClass | The mail class or null to reset
|
|---|
Sets the Neighborhood. Used to disambiguate a street.
| neighborhood | Neighborhood. Used to disambiguate a street or
null to reset
|
|---|
Sets the Postal code.
| postcode | Postal code or null to reset
|
|---|
Sets the whether this is the primary postal address.
| primary | Whether this is the primary postal address or
null to reset
|
|---|
Sets the Region is state, province, county (in Ireland), Land (in Germany), departement (in France), etc.
| region | Region is state, province, county (in Ireland), Land (in
Germany), departement (in France), etc or null to reset
|
|---|
Sets the the postal address type.
| rel | The postal address type or null to reset
|
|---|
Sets the Can be street, avenue, road, etc. This element also includes the house number and room/apartment/flat/floor number.
| street | Can be street, avenue, road, etc. This element also includes
the house number and room/apartment/flat/floor number or
null to reset
|
|---|
Sets the Subregion is county (US), province (in Italy), etc.
| subregion | Subregion is county (US), province (in Italy), etc or
null to reset
|
|---|
Sets the The context for the address use.
| usage | The context for the address use or null to reset
|
|---|
Consumes attributes from the attribute helper. May also use
consumeContent(boolean) to consume the element's text
content. Called from getHandler(ExtensionProfile, String, String, Attributes). Default implementation does
nothing, though generally this is discouraged unless there really are no
attributes.
| helper | Attribute helper |
|---|
| ParseException |
|---|
Puts attributes into the attribute generator. Called from
generate(XmlWriter, ExtensionProfile). Default implementation
does nothing, though generally this is discouraged unless there really are
no attributes.
| generator | Attribute generator |
|---|
Checks the attributes to see if there are any problems. Default implementation does nothing, though generally this is discouraged unless there really are no restrictions.