public class AddressComponent
extends java.lang.Object
See here for more detail.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
longName
longName is the full text description or name of the address component as returned by
the Geocoder. |
java.lang.String |
shortName
shortName is an abbreviated textual name for the address component, if available. |
AddressComponentType[] |
types
This indicates the type of each part of the address.
|
Constructor and Description |
---|
AddressComponent() |
public java.lang.String longName
longName
is the full text description or name of the address component as returned by
the Geocoder.public java.lang.String shortName
shortName
is an abbreviated textual name for the address component, if available. For
example, an address component for the state of Alaska may have a longName of "Alaska" and a
shortName of "AK" using the 2-letter postal abbreviation.public AddressComponentType[] types