|
|
|
|
@ -124,9 +124,9 @@ public class BoatXMLReader extends XMLReader {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for (int i = 0; i < boat.getChildNodes().getLength(); i++) {
|
|
|
|
|
Node GPSPosition = boat.getChildNodes().item(i);
|
|
|
|
|
if (GPSPosition.getNodeName().equals("GPSPosition"))
|
|
|
|
|
readBoatPositionInformation(sourceID, GPSPosition);
|
|
|
|
|
Node GPSposition = boat.getChildNodes().item(i);
|
|
|
|
|
if (GPSposition.getNodeName().equals("GPSposition"))
|
|
|
|
|
readBoatPositionInformation(sourceID, GPSposition);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@ -136,10 +136,10 @@ public class BoatXMLReader extends XMLReader {
|
|
|
|
|
* Reads the positional information about a boat
|
|
|
|
|
* Ignored values: FlagPosition, MastTop, Z value of GPSPosition
|
|
|
|
|
* @param sourceID The source ID of the boat.
|
|
|
|
|
* @param GPSPosition The relative GPS position of the boat.
|
|
|
|
|
* @param GPSposition The relative GPS position of the boat.
|
|
|
|
|
*/
|
|
|
|
|
private void readBoatPositionInformation(int sourceID, Node GPSPosition) {
|
|
|
|
|
// TODO Get relative point before implementing. (GPSPosition is based
|
|
|
|
|
private void readBoatPositionInformation(int sourceID, Node GPSposition) {
|
|
|
|
|
// TODO Get relative point before implementing. (GPSposition is based
|
|
|
|
|
// off a relative point).
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|