eu.clarin.weblicht.wlfxb.tc.api
Enum GeoLongLatFormat

java.lang.Object
  extended by java.lang.Enum<GeoLongLatFormat>
      extended by eu.clarin.weblicht.wlfxb.tc.api.GeoLongLatFormat
All Implemented Interfaces:
Serializable, Comparable<GeoLongLatFormat>

public enum GeoLongLatFormat
extends Enum<GeoLongLatFormat>

Author:
Yana Panchenko

Enum Constant Summary
DegDec
          Coordinate containing only degrees (positive or negative real number).
DMS
          Coordinate containing degrees (integer), minutes (integer), and seconds (integer, or real number).
MinDec
          Coordinate containing degrees (integer) and minutes (real number).
 
Method Summary
static GeoLongLatFormat valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GeoLongLatFormat[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DegDec

public static final GeoLongLatFormat DegDec
Coordinate containing only degrees (positive or negative real number). Example: 40.446195, -79.948862


MinDec

public static final GeoLongLatFormat MinDec
Coordinate containing degrees (integer) and minutes (real number). Example: 40°26.7717, -79°56.93172


DMS

public static final GeoLongLatFormat DMS
Coordinate containing degrees (integer), minutes (integer), and seconds (integer, or real number). Example: Latitude 40:26:46N, Longitude 79:56:55W

Method Detail

values

public static GeoLongLatFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (GeoLongLatFormat c : GeoLongLatFormat.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GeoLongLatFormat valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2013 Department of Linguistics, Tübingen University. All Rights Reserved.