net.sf.marineapi.nmea.sentence
Interface GLLSentence

All Superinterfaces:
PositionSentence, Sentence, TimeSentence

public interface GLLSentence
extends PositionSentence, TimeSentence

Current geographic position and time.

Example:
$GPGLL,6011.552,N,02501.941,E,120045,A*26

Version:
$Revision: 72 $
Author:
Kimmo Tuukkanen

Field Summary
 
Fields inherited from interface net.sf.marineapi.nmea.sentence.Sentence
ADDRESS_FIELD, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR
 
Fields inherited from interface net.sf.marineapi.nmea.sentence.Sentence
ADDRESS_FIELD, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR
 
Method Summary
 DataStatus getStatus()
          Get the data quality status, valid or invalid.
 void setStatus(DataStatus status)
          Set the data quality status, valid or invalid.
 
Methods inherited from interface net.sf.marineapi.nmea.sentence.PositionSentence
getPosition, setPosition
 
Methods inherited from interface net.sf.marineapi.nmea.sentence.Sentence
getFieldCount, getSentenceId, getTalkerId, isProprietary, isValid, setTalkerId, toSentence, toString
 
Methods inherited from interface net.sf.marineapi.nmea.sentence.TimeSentence
getTime, setTime
 
Methods inherited from interface net.sf.marineapi.nmea.sentence.Sentence
getFieldCount, getSentenceId, getTalkerId, isProprietary, isValid, setTalkerId, toSentence, toString
 

Method Detail

getStatus

DataStatus getStatus()
Get the data quality status, valid or invalid.

Returns:
DataStatus.ACTIVE or DataStatus.VOID
Throws:
DataNotAvailableException - If the data is not available.
ParseException - If the field contains unexpected or illegal value.

setStatus

void setStatus(DataStatus status)
Set the data quality status, valid or invalid.

Parameters:
status - DataStatus to set
Throws:
DataNotAvailableException - If the data is not available.
ParseException - If the field contains unexpected or illegal value.


Copyright (C) 2010-2011 Java Marine API author(s). All Rights Reserved.