|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PositionSentence
Common interface for sentences that contain geographic position.
Field Summary |
---|
Fields inherited from interface net.sf.marineapi.nmea.sentence.Sentence |
---|
ALTERNATIVE_BEGIN_CHAR, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR |
Method Summary | |
---|---|
Position |
getPosition()
Gets the geographic position. |
void |
setPosition(Position pos)
Set the geographic position. |
Methods inherited from interface net.sf.marineapi.nmea.sentence.Sentence |
---|
getBeginChar, getFieldCount, getSentenceId, getTalkerId, isProprietary, isValid, reset, setBeginChar, setTalkerId, toSentence, toSentence, toString |
Method Detail |
---|
Position getPosition()
DataNotAvailableException
- If any of the
position related fields is empty.
ParseException
- If any of the position
related fields contains unexpected value.void setPosition(Position pos)
pos
- Position to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |