|
|||||||||
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 | |
---|---|
BOD
Bearing Origin to Destination |
|
DBT
Depth of water below transducer; in meters, feet and fathoms |
|
DPT
Depth of water below transducer; in meters. |
|
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 |
|
RMB
Recommended minimum navigation information |
|
RMC
Recommended minimum specific GPS/TRANSIT data |
|
RTE
Route data and waypoint list |
|
WPL
Waypoint location (latitude/longitude) |
|
VTG
Track made good and ground speed |
|
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're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SentenceId BOD
public static final SentenceId DBT
public static final SentenceId DPT
public static final SentenceId GGA
public static final SentenceId GLL
public static final SentenceId GSA
public static final SentenceId GSV
public static final SentenceId RMB
public static final SentenceId RMC
public static final SentenceId RTE
public static final SentenceId VTG
public static final SentenceId WPL
public static final SentenceId ZDA
Method Detail |
---|
public static final 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 namepublic 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 valid
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |