org.openstreetmap.josm.io
Enum NmeaReader.GPRMC

java.lang.Object
  extended by java.lang.Enum<NmeaReader.GPRMC>
      extended by org.openstreetmap.josm.io.NmeaReader.GPRMC
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<NmeaReader.GPRMC>
Enclosing class:
NmeaReader

public static enum NmeaReader.GPRMC
extends java.lang.Enum<NmeaReader.GPRMC>


Enum Constant Summary
COURSE
           
DATE
           
LENGTH_EAST
           
LENGTH_EAST_NAME
           
MAGNETIC_DECLINATION
           
MODE
          Mode (A = autonom; D = differential; E = estimated; N = not valid; S = simulated)
RECEIVER_WARNING
          Warning from the receiver (A = data ok, V = warning)
SPEED
           
TIME
           
UNKNOWN
           
WIDTH_NORTH
           
WIDTH_NORTH_NAME
           
 
Field Summary
 int position
           
 
Method Summary
static NmeaReader.GPRMC valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static NmeaReader.GPRMC[] 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

TIME

public static final NmeaReader.GPRMC TIME

RECEIVER_WARNING

public static final NmeaReader.GPRMC RECEIVER_WARNING
Warning from the receiver (A = data ok, V = warning)


WIDTH_NORTH

public static final NmeaReader.GPRMC WIDTH_NORTH

WIDTH_NORTH_NAME

public static final NmeaReader.GPRMC WIDTH_NORTH_NAME

LENGTH_EAST

public static final NmeaReader.GPRMC LENGTH_EAST

LENGTH_EAST_NAME

public static final NmeaReader.GPRMC LENGTH_EAST_NAME

SPEED

public static final NmeaReader.GPRMC SPEED

COURSE

public static final NmeaReader.GPRMC COURSE

DATE

public static final NmeaReader.GPRMC DATE

MAGNETIC_DECLINATION

public static final NmeaReader.GPRMC MAGNETIC_DECLINATION

UNKNOWN

public static final NmeaReader.GPRMC UNKNOWN

MODE

public static final NmeaReader.GPRMC MODE
Mode (A = autonom; D = differential; E = estimated; N = not valid; S = simulated)

Since:
NMEA 2.3
Field Detail

position

public final int position
Method Detail

values

public static NmeaReader.GPRMC[] 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 (NmeaReader.GPRMC c : NmeaReader.GPRMC.values())
    System.out.println(c);

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

valueOf

public static NmeaReader.GPRMC valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


JOSM