Package org.wicketstuff.gmap.geocoder
Enum Class GeocoderStatus
- All Implemented Interfaces:
Serializable
,Comparable<GeocoderStatus>
,Constable
Possible values of return status field.
See https://developers.google.com/maps/documentation/geocoding/#StatusCodes.
- Author:
- Dieter Tremel ([email protected])
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptiongenerally indicates that the query (address, components or latlng) is missing or an invalid result_type or location_type was given.indicates that no errors occurred; the address was successfully parsed and at least one geocode was returned.indicates that you are over your quota.indicates that your request was denied, possibly because the request includes a result_type or location_type parameter but does not include an API key or client ID.indicates that the request could not be processed due to a server error.indicates that the geocode was successful but returned no results. -
Method Summary
Modifier and TypeMethodDescriptionstatic GeocoderStatus
Returns the enum constant of this class with the specified name.static GeocoderStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OK
indicates that no errors occurred; the address was successfully parsed and at least one geocode was returned. -
ZERO_RESULTS
indicates that the geocode was successful but returned no results. This may occur if the geocode was passed a non-existent address or a latlng in a remote location. -
OVER_QUERY_LIMIT
indicates that you are over your quota. -
REQUEST_DENIED
indicates that your request was denied, possibly because the request includes a result_type or location_type parameter but does not include an API key or client ID. -
INVALID_REQUEST
generally indicates that the query (address, components or latlng) is missing or an invalid result_type or location_type was given. -
UNKNOWN_ERROR
indicates that the request could not be processed due to a server error. The request may succeed if you try again.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-