Enum Class GeocoderStatus

java.lang.Object
java.lang.Enum<GeocoderStatus>
org.wicketstuff.gmap.geocoder.GeocoderStatus
All Implemented Interfaces:
Serializable, Comparable<GeocoderStatus>, Constable

public enum GeocoderStatus extends Enum<GeocoderStatus>
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 Constants
    Enum Constant
    Description
    generally 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 Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • OK

      public static final GeocoderStatus OK
      indicates that no errors occurred; the address was successfully parsed and at least one geocode was returned.
    • ZERO_RESULTS

      public static final GeocoderStatus 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

      public static final GeocoderStatus OVER_QUERY_LIMIT
      indicates that you are over your quota.
    • REQUEST_DENIED

      public static final GeocoderStatus 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

      public static final GeocoderStatus 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

      public static final GeocoderStatus 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

      public static GeocoderStatus[] 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

      public static GeocoderStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null