Package gov.nasa.gsfc.sscweb.schema

# Enum Class LatLonFormat

java.lang.Object
java.lang.Enum<LatLonFormat>
gov.nasa.gsfc.sscweb.schema.LatLonFormat

All Implemented Interfaces:
  `Serializable`, `Comparable<LatLonFormat>`, `Constable`

public enum LatLonFormat extends Enum<LatLonFormat>
Latitude/Longitude format enumeration. <p>Java class for LatLonFormat</p>. <p>The following schema fragment specifies the expected content contained within this class.</p> <pre>{@code <simpleType name="LatLonFormat"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Lat90Lon360"/> <enumeration value="Lat90Lon180"/> <enumeration value="Lat90SnLon180We"/> </restriction> </simpleType> }</pre>

- ## 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
  `LAT_90_LON_180`
  Latitude (-90,+90), Longitude (-180,+180)
  `LAT_90_LON_360`
  Latitude (-90,+90), Longitude (0, 360)
  `LAT_90_SN_LON_180_WE`
  Latitude (90S,90N), Longitude (180W,180E)

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `private final String`
  `value`

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `private`
  `LatLonFormat(String v)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static LatLonFormat`
  `fromValue(String v)`
  Gets the enum associated to the value passed as parameter.
  `String`
  `value()`
  Gets the value associated to the enum constant.
  `static LatLonFormat`
  `valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static LatLonFormat[]`
  `values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

  ### Methods inherited from class java.lang.Enum

  `clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### Methods inherited from class java.lang.Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## Enum Constant Details

  - ### LAT_90_LON_360

    public static final LatLonFormat LAT_90_LON_360
    Latitude (-90,+90), Longitude (0, 360)

  - ### LAT_90_LON_180

    public static final LatLonFormat LAT_90_LON_180
    Latitude (-90,+90), Longitude (-180,+180)

  - ### LAT_90_SN_LON_180_WE

    public static final LatLonFormat LAT_90_SN_LON_180_WE
    Latitude (90S,90N), Longitude (180W,180E)

- ## Field Details

  - ### value

    private final String value

- ## Constructor Details

  - ### LatLonFormat

    private LatLonFormat(String v)

- ## Method Details

  - ### values

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

  - ### value

    public String value()
    Gets the value associated to the enum constant.
    Returns:
      The value linked to the enum.

  - ### fromValue

    public static LatLonFormat fromValue(String v)
    Gets the enum associated to the value passed as parameter.
    Parameters:
      `v` - The value to get the enum from.
    Returns:
      The enum which corresponds to the value, if it exists.
    Throws:
      `IllegalArgumentException` - If no value matches in the enum declaration.