public interface PositionSentence extends Sentence
ALTERNATIVE_BEGIN_CHAR, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR
Modifier and Type | Method and Description |
---|---|
Position |
getPosition()
Gets the geographic position.
|
void |
setPosition(Position pos)
Set the geographic position.
|
getBeginChar, getFieldCount, getSentenceId, getTalkerId, isAISSentence, isProprietary, isValid, reset, setBeginChar, setTalkerId, toSentence, toSentence, toString
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 setCopyright (C) 2010-2017 Java Marine API authors. All Rights Reserved.