public enum GeocoderStatus extends Enum<GeocoderStatus>
Enum Constant and Description |
---|
ERROR
There was a problem contacting the Google servers.
|
INVALID_REQUEST
This GeocoderRequest was invalid.
|
OK
The response contains a valid GeocoderResponse.
|
OVER_QUERY_LIMIT
The webpage has gone over the requests limit in too short a period of time.
|
REQUEST_DENIED
The webpage is not allowed to use the geocoder.
|
UNKNOWN_ERROR
A geocoding request could not be processed due to a server error.
|
ZERO_RESULTS
No result was found for this GeocoderRequest.
|
Modifier and Type | Method and Description |
---|---|
static GeocoderStatus |
fromValue(String type) |
String |
toString() |
String |
value() |
static GeocoderStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeocoderStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeocoderStatus ERROR
public static final GeocoderStatus INVALID_REQUEST
public static final GeocoderStatus OK
public static final GeocoderStatus OVER_QUERY_LIMIT
public static final GeocoderStatus REQUEST_DENIED
public static final GeocoderStatus UNKNOWN_ERROR
public static final GeocoderStatus ZERO_RESULTS
public static GeocoderStatus[] values()
for (GeocoderStatus c : GeocoderStatus.values()) System.out.println(c);
public static GeocoderStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static GeocoderStatus fromValue(String type)
public String toString()
toString
in class Enum<GeocoderStatus>
Copyright © 2011-2013 Gone Vertical LLC. All Rights Reserved.