|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SentenceId>
net.sf.marineapi.nmea.sentence.SentenceId
public enum SentenceId
Defines the supported NMEA 0831 sentence types. Sentence address field is a combination of talker and sentence IDs, for example GPBOD, GPGGA or GPGGL.
TalkerId
Enum Constant Summary | |
---|---|
APB
Autopilot sentence "B"; xte, bearings and heading toward destination |
|
BOD
Bearing Origin to Destination |
|
DBT
Depth of water below transducer; in meters, feet and fathoms |
|
DPT
Depth of water below transducer; in meters. |
|
DTM
Datum reference. |
|
GGA
Global Positioning System fix data |
|
GLL
Geographic position (latitude/longitude) |
|
GSA
Dilution of precision (DOP) of GPS fix and active satellites |
|
GSV
Detailed satellite data |
|
HDG
Vessel heading in degrees with magnetic variation and deviation. |
|
HDM
Vessel heading in degrees with respect to true north. |
|
HDT
Vessel heading in degrees true |
|
MTA
Air temperature in degrees centigrade (Celsius). |
|
MTW
Water temperature in degrees centigrade (Celsius). |
|
MWV
Wind speed and angle |
|
RMB
Recommended minimum navigation information |
|
RMC
Recommended minimum specific GPS/TRANSIT data |
|
ROT
Rate of Turn |
|
RPM
Revolutions measured from engine or shaft. |
|
RSA
Rudder angle, measured in degrees |
|
RTE
Route data and waypoint list |
|
TTM
Tracked target |
|
VDR
Set and drift, direction and speed of current. |
|
VHW
Water speed and heading |
|
VLW
Distance traveled through water, cumulative and since reset. |
|
VTG
Track made good and ground speed |
|
WPL
Waypoint location (latitude/longitude) |
|
XDR
Transducer measurements (sensor data) |
|
XTE
Cross-track error, measured |
|
ZDA
UTC time and date with local time zone offset |
Method Summary | |
---|---|
static SentenceId |
parse(String nmea)
Parses the sentence id from specified sentence String and returns a corresponding SentenceId enum (assuming it exists). |
static String |
parseStr(String nmea)
Parses the sentence id from specified sentence String and returns it as String. |
static SentenceId |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SentenceId[] |
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 |
---|
public static final SentenceId APB
public static final SentenceId BOD
public static final SentenceId DBT
public static final SentenceId DPT
public static final SentenceId DTM
public static final SentenceId GGA
public static final SentenceId GLL
public static final SentenceId GSA
public static final SentenceId GSV
public static final SentenceId HDG
public static final SentenceId HDM
public static final SentenceId HDT
public static final SentenceId MTA
public static final SentenceId MTW
public static final SentenceId MWV
public static final SentenceId RMB
public static final SentenceId RMC
public static final SentenceId ROT
public static final SentenceId RPM
public static final SentenceId RSA
public static final SentenceId RTE
public static final SentenceId TTM
public static final SentenceId VDR
public static final SentenceId VLW
public static final SentenceId VTG
public static final SentenceId VHW
public static final SentenceId WPL
public static final SentenceId XDR
public static final SentenceId XTE
public static final SentenceId ZDA
Method Detail |
---|
public static SentenceId[] values()
for (SentenceId c : SentenceId.values()) System.out.println(c);
public static SentenceId valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static SentenceId parse(String nmea)
SentenceId
enum (assuming it exists).
nmea
- Sentence String
IllegalArgumentException
- If specified String is not valid
sentencepublic static String parseStr(String nmea)
nmea
- Sentence String
IllegalArgumentException
- If specified String is not recognized as
NMEA sentence
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |