|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<GeocoderStatus>
com.google.gwt.maps.client.services.GeocoderStatus
public enum GeocoderStatus
The status returned by the Geocoder on the completion of a call to geocode().
See GeocoderStatus API Doc
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic String value()
public static GeocoderStatus fromValue(String type)
public String toString()
toString
in class Enum<GeocoderStatus>
|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |