public enum AddressComponentType extends java.lang.Enum<AddressComponentType>
Enum Constant and Description |
---|
ADMINISTRATIVE_AREA_LEVEL_1
A first-order civil entity below the country level.
|
ADMINISTRATIVE_AREA_LEVEL_2
A second-order civil entity below the country level.
|
ADMINISTRATIVE_AREA_LEVEL_3
A third-order civil entity below the country level.
|
ADMINISTRATIVE_AREA_LEVEL_4
A fourth-order civil entity below the country level.
|
ADMINISTRATIVE_AREA_LEVEL_5
A fifth-order civil entity below the country level.
|
AIRPORT
An airport.
|
BUS_STATION
The location of a bus stop.
|
COLLOQUIAL_AREA
A commonly-used alternative name for the entity.
|
COUNTRY
A national political entity, typically the highest order type returned by the Geocoder.
|
ESTABLISHMENT
Typically indicates a place that has not yet been categorized.
|
FLOOR
The floor of a building address.
|
INTERSECTION
A major intersection, usually of two major roads.
|
LIGHT_RAIL_STATION
The location of a light rail station.
|
LOCALITY
An incorporated city or town political entity.
|
NATURAL_FEATURE
A prominent natural feature.
|
NEIGHBORHOOD
A named neighborhood.
|
PARK
A named park.
|
PARKING
A parking lot or parking structure.
|
POINT_OF_INTEREST
A named point of interest.
|
POLITICAL
A political entity.
|
POST_BOX
A specific postal box.
|
POSTAL_CODE
A postal code as used to address postal mail within the country.
|
POSTAL_CODE_PREFIX
A postal code prefix as used to address postal mail within the country.
|
POSTAL_CODE_SUFFIX
A postal code suffix as used to address postal mail within the country.
|
POSTAL_TOWN
A grouping of geographic areas, such as locality and sublocality, used for mailing addresses in
some countries.
|
PREMISE
A named location, usually a building or collection of buildings with a common name.
|
ROOM
The room of a building address.
|
ROUTE
A named route (such as "US 101").
|
STREET_ADDRESS
A precise street address.
|
STREET_NUMBER
The precise street number of an address.
|
SUBLOCALITY
A first-order civil entity below a locality.
|
SUBLOCALITY_LEVEL_1 |
SUBLOCALITY_LEVEL_2 |
SUBLOCALITY_LEVEL_3 |
SUBLOCALITY_LEVEL_4 |
SUBLOCALITY_LEVEL_5 |
SUBPREMISE
A first-order entity below a named location, usually a singular building within a collection of
buildings with a common name.
|
SUBWAY_STATION
The location of a subway station.
|
TRAIN_STATION
The location of a train station.
|
TRANSIT_STATION
The location of a transit station.
|
UNKNOWN
Indicates an unknown address component type returned by the server.
|
WARD
A specific type of Japanese locality, used to facilitate distinction between multiple locality
components within a Japanese address.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toCanonicalLiteral() |
java.lang.String |
toString() |
static AddressComponentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AddressComponentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddressComponentType STREET_ADDRESS
public static final AddressComponentType ROUTE
public static final AddressComponentType INTERSECTION
public static final AddressComponentType POLITICAL
public static final AddressComponentType COUNTRY
public static final AddressComponentType ADMINISTRATIVE_AREA_LEVEL_1
public static final AddressComponentType ADMINISTRATIVE_AREA_LEVEL_2
public static final AddressComponentType ADMINISTRATIVE_AREA_LEVEL_3
public static final AddressComponentType ADMINISTRATIVE_AREA_LEVEL_4
public static final AddressComponentType ADMINISTRATIVE_AREA_LEVEL_5
public static final AddressComponentType COLLOQUIAL_AREA
public static final AddressComponentType LOCALITY
public static final AddressComponentType WARD
public static final AddressComponentType SUBLOCALITY
public static final AddressComponentType SUBLOCALITY_LEVEL_1
public static final AddressComponentType SUBLOCALITY_LEVEL_2
public static final AddressComponentType SUBLOCALITY_LEVEL_3
public static final AddressComponentType SUBLOCALITY_LEVEL_4
public static final AddressComponentType SUBLOCALITY_LEVEL_5
public static final AddressComponentType NEIGHBORHOOD
public static final AddressComponentType PREMISE
public static final AddressComponentType SUBPREMISE
public static final AddressComponentType POSTAL_CODE
public static final AddressComponentType POSTAL_CODE_PREFIX
public static final AddressComponentType POSTAL_CODE_SUFFIX
public static final AddressComponentType NATURAL_FEATURE
public static final AddressComponentType AIRPORT
public static final AddressComponentType PARK
public static final AddressComponentType POINT_OF_INTEREST
public static final AddressComponentType FLOOR
public static final AddressComponentType ESTABLISHMENT
public static final AddressComponentType PARKING
public static final AddressComponentType POST_BOX
public static final AddressComponentType POSTAL_TOWN
public static final AddressComponentType ROOM
public static final AddressComponentType STREET_NUMBER
public static final AddressComponentType BUS_STATION
public static final AddressComponentType TRAIN_STATION
public static final AddressComponentType SUBWAY_STATION
public static final AddressComponentType TRANSIT_STATION
public static final AddressComponentType LIGHT_RAIL_STATION
public static final AddressComponentType UNKNOWN
public static AddressComponentType[] values()
for (AddressComponentType c : AddressComponentType.values()) System.out.println(c);
public static AddressComponentType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<AddressComponentType>
public java.lang.String toCanonicalLiteral()