public enum AddressComponentType extends java.lang.Enum<AddressComponentType>
Enum Constant and Description |
---|
ADMINISTRATIVE_AREA_LEVEL_1
ADMINISTRATIVE_AREA_LEVEL_1 indicates a first-order civil entity below the country
level. |
ADMINISTRATIVE_AREA_LEVEL_2
ADMINISTRATIVE_AREA_LEVEL_2 indicates a second-order civil entity below the country
level. |
ADMINISTRATIVE_AREA_LEVEL_3
ADMINISTRATIVE_AREA_LEVEL_3 indicates a third-order civil entity below the country
level. |
ADMINISTRATIVE_AREA_LEVEL_4
ADMINISTRATIVE_AREA_LEVEL_4 indicates a fourth-order civil entity below the country
level. |
ADMINISTRATIVE_AREA_LEVEL_5
ADMINISTRATIVE_AREA_LEVEL_5 indicates a fifth-order civil entity below the country
level. |
AIRPORT
AIRPORT indicates an airport. |
BUS_STATION
BUS_STATION indicates the location of a bus stop. |
COLLOQUIAL_AREA
COLLOQUIAL_AREA indicates a commonly-used alternative name for the entity. |
COUNTRY
COUNTRY indicates the national political entity, and is typically the highest order
type returned by the Geocoder. |
ESTABLISHMENT
ESTABLISHMENT typically indicates a place that has not yet been categorized. |
FLOOR
FLOOR indicates the floor of a building address. |
INTERSECTION
INTERSECTION indicates a major intersection, usually of two major roads. |
LOCALITY
LOCALITY indicates an incorporated city or town political entity. |
NATURAL_FEATURE
NATURAL_FEATURE indicates a prominent natural feature. |
NEIGHBORHOOD
NEIGHBORHOOD indicates a named neighborhood. |
PARK
PARK indicates a named park. |
PARKING
PARKING indicates a parking lot or parking structure. |
POINT_OF_INTEREST
POINT_OF_INTEREST indicates a named point of interest. |
POLITICAL
POLITICAL indicates a political entity. |
POST_BOX
POST_BOX indicates a specific postal box. |
POSTAL_CODE
POSTAL_CODE indicates a postal code as used to address postal mail within the
country. |
POSTAL_CODE_SUFFIX
POSTAL_CODE_SUFFIX indicates a postal code suffix as used to address postal mail within the
country. |
POSTAL_TOWN
POSTAL_TOWN indicates a grouping of geographic areas, such as locality and
sublocality, used for mailing addresses in some countries. |
PREMISE
PREMISE indicates a named location, usually a building or collection of buildings
with a common name. |
ROOM
ROOM indicates the room of a building address. |
ROUTE
ROUTE indicates a named route (such as "US 101"). |
STREET_ADDRESS
STREET_ADDRESS indicates a precise street address. |
STREET_NUMBER
STREET_NUMBER indicates the precise street number. |
SUBLOCALITY
SUBLOCALITY indicates a first-order civil entity below a locality. |
SUBLOCALITY_LEVEL_1 |
SUBLOCALITY_LEVEL_2 |
SUBLOCALITY_LEVEL_3 |
SUBLOCALITY_LEVEL_4 |
SUBLOCALITY_LEVEL_5 |
SUBPREMISE
SUBPREMISE indicates a first-order entity below a named location, usually a singular
building within a collection of buildings with a common name |
TRAIN_STATION
TRAIN_STATION indicates the location of a train station. |
TRANSIT_STATION
TRANSIT_STATION indicates the location of a transit station. |
UNKNOWN
Indicates an unknown address component type returned by the server.
|
Modifier and Type | Method and Description |
---|---|
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
STREET_ADDRESS
indicates a precise street address.public static final AddressComponentType ROUTE
ROUTE
indicates a named route (such as "US 101").public static final AddressComponentType INTERSECTION
INTERSECTION
indicates a major intersection, usually of two major roads.public static final AddressComponentType POLITICAL
POLITICAL
indicates a political entity. Usually, this type indicates a polygon of
some civil administration.public static final AddressComponentType COUNTRY
COUNTRY
indicates the national political entity, and is typically the highest order
type returned by the Geocoder.public static final AddressComponentType ADMINISTRATIVE_AREA_LEVEL_1
ADMINISTRATIVE_AREA_LEVEL_1
indicates a first-order civil entity below the country
level. Within the United States, these administrative levels are states. Not all nations
exhibit these administrative levels.public static final AddressComponentType ADMINISTRATIVE_AREA_LEVEL_2
ADMINISTRATIVE_AREA_LEVEL_2
indicates a second-order civil entity below the country
level. Within the United States, these administrative levels are counties. Not all nations
exhibit these administrative levels.public static final AddressComponentType ADMINISTRATIVE_AREA_LEVEL_3
ADMINISTRATIVE_AREA_LEVEL_3
indicates a third-order civil entity below the country
level. This type indicates a minor civil division. Not all nations exhibit these
administrative levels.public static final AddressComponentType ADMINISTRATIVE_AREA_LEVEL_4
ADMINISTRATIVE_AREA_LEVEL_4
indicates a fourth-order civil entity below the country
level. This type indicates a minor civil division. Not all nations exhibit these
administrative levels.public static final AddressComponentType ADMINISTRATIVE_AREA_LEVEL_5
ADMINISTRATIVE_AREA_LEVEL_5
indicates a fifth-order civil entity below the country
level. This type indicates a minor civil division. Not all nations exhibit these
administrative levels.public static final AddressComponentType COLLOQUIAL_AREA
COLLOQUIAL_AREA
indicates a commonly-used alternative name for the entity.public static final AddressComponentType LOCALITY
LOCALITY
indicates an incorporated city or town political entity.public static final AddressComponentType SUBLOCALITY
SUBLOCALITY
indicates a first-order civil entity below a locality. For some locations
may receive one of the additional types: sublocality_level_1 to sublocality_level_5. Each
sublocality level is a civil entity. Larger numbers indicate a smaller geographic area.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
NEIGHBORHOOD
indicates a named neighborhood.public static final AddressComponentType PREMISE
PREMISE
indicates a named location, usually a building or collection of buildings
with a common name.public static final AddressComponentType SUBPREMISE
SUBPREMISE
indicates a first-order entity below a named location, usually a singular
building within a collection of buildings with a common namepublic static final AddressComponentType POSTAL_CODE
POSTAL_CODE
indicates a postal code as used to address postal mail within the
country.public static final AddressComponentType POSTAL_CODE_SUFFIX
POSTAL_CODE_SUFFIX
indicates a postal code suffix as used to address postal mail within the
country.public static final AddressComponentType NATURAL_FEATURE
NATURAL_FEATURE
indicates a prominent natural feature.public static final AddressComponentType AIRPORT
AIRPORT
indicates an airport.public static final AddressComponentType PARK
PARK
indicates a named park.public static final AddressComponentType POINT_OF_INTEREST
POINT_OF_INTEREST
indicates a named point of interest. Typically, these "POI"s are
prominent local entities that don't easily fit in another category, such as "Empire State
Building" or "Statue of Liberty."public static final AddressComponentType FLOOR
FLOOR
indicates the floor of a building address.public static final AddressComponentType ESTABLISHMENT
ESTABLISHMENT
typically indicates a place that has not yet been categorized.public static final AddressComponentType PARKING
PARKING
indicates a parking lot or parking structure.public static final AddressComponentType POST_BOX
POST_BOX
indicates a specific postal box.public static final AddressComponentType POSTAL_TOWN
POSTAL_TOWN
indicates a grouping of geographic areas, such as locality and
sublocality, used for mailing addresses in some countries.public static final AddressComponentType ROOM
ROOM
indicates the room of a building address.public static final AddressComponentType STREET_NUMBER
STREET_NUMBER
indicates the precise street number.public static final AddressComponentType BUS_STATION
BUS_STATION
indicates the location of a bus stop.public static final AddressComponentType TRAIN_STATION
TRAIN_STATION
indicates the location of a train station.public static final AddressComponentType TRANSIT_STATION
TRANSIT_STATION
indicates the location of a transit 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 null