|
|
|
@ -75,7 +75,18 @@ public class RaceData {
|
|
|
|
startTimeElement.setAttribute("Postpone", "false");
|
|
|
|
startTimeElement.setAttribute("Postpone", "false");
|
|
|
|
raceElement.appendChild(startTimeElement);
|
|
|
|
raceElement.appendChild(startTimeElement);
|
|
|
|
|
|
|
|
|
|
|
|
//PARTICIPANTS
|
|
|
|
|
|
|
|
|
|
|
|
Element participantsElement = doc.createElement("Participants");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (BoatInRace boat : participants) {
|
|
|
|
|
|
|
|
Element yachtElement = doc.createElement("Yacht");
|
|
|
|
|
|
|
|
yachtElement.setAttribute("SourceID", boat.getSourceID() + "");
|
|
|
|
|
|
|
|
participantsElement.appendChild(yachtElement);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
raceElement.appendChild(participantsElement);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Element courseElement = doc.createElement("Course");
|
|
|
|
Element courseElement = doc.createElement("Course");
|
|
|
|
Element compoundMarkSeqElement = doc.createElement("CompoundMarkSequence");
|
|
|
|
Element compoundMarkSeqElement = doc.createElement("CompoundMarkSequence");
|
|
|
|
|