com.google.code.geocoder.model
Enum GeocoderResultType
java.lang.Object
java.lang.Enum<GeocoderResultType>
com.google.code.geocoder.model.GeocoderResultType
- All Implemented Interfaces:
- Serializable, Comparable<GeocoderResultType>
public enum GeocoderResultType
- extends Enum<GeocoderResultType>
- Author:
- Michael Panchenko
STREET_ADDRESS
public static final GeocoderResultType STREET_ADDRESS
ROUTE
public static final GeocoderResultType ROUTE
INTERSECTION
public static final GeocoderResultType INTERSECTION
POLITICAL
public static final GeocoderResultType POLITICAL
COUNTRY
public static final GeocoderResultType COUNTRY
ADMINISTRATIVE_AREA_LEVEL_1
public static final GeocoderResultType ADMINISTRATIVE_AREA_LEVEL_1
ADMINISTRATIVE_AREA_LEVEL_2
public static final GeocoderResultType ADMINISTRATIVE_AREA_LEVEL_2
ADMINISTRATIVE_AREA_LEVEL_3
public static final GeocoderResultType ADMINISTRATIVE_AREA_LEVEL_3
COLLOQUIAL_AREA
public static final GeocoderResultType COLLOQUIAL_AREA
LOCALITY
public static final GeocoderResultType LOCALITY
SUBLOCALITY
public static final GeocoderResultType SUBLOCALITY
NEIGHBORHOOD
public static final GeocoderResultType NEIGHBORHOOD
PREMISE
public static final GeocoderResultType PREMISE
SUBPREMISE
public static final GeocoderResultType SUBPREMISE
POSTAL_CODE
public static final GeocoderResultType POSTAL_CODE
NATURAL_FEATURE
public static final GeocoderResultType NATURAL_FEATURE
AIRPORT
public static final GeocoderResultType AIRPORT
PARK
public static final GeocoderResultType PARK
POINT_OF_INTEREST
public static final GeocoderResultType POINT_OF_INTEREST
POST_BOX
public static final GeocoderResultType POST_BOX
STREET_NUMBER
public static final GeocoderResultType STREET_NUMBER
FLOOR
public static final GeocoderResultType FLOOR
ROOM
public static final GeocoderResultType ROOM
values
public static GeocoderResultType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (GeocoderResultType c : GeocoderResultType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GeocoderResultType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
value
public String value()
fromValue
public static GeocoderResultType fromValue(String v)
Copyright © 2013. All Rights Reserved.