|
|
|
@ -38,7 +38,7 @@ public class XMLRaceFactory {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Create an instance of {@link XMLRace }
|
|
|
|
* Create an instance of {@link XMLRace }
|
|
|
|
*
|
|
|
|
* @return a new instance of a race.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public XMLRace createRace() {
|
|
|
|
public XMLRace createRace() {
|
|
|
|
return new XMLRace();
|
|
|
|
return new XMLRace();
|
|
|
|
@ -46,7 +46,7 @@ public class XMLRaceFactory {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Create an instance of {@link XMLRaceStartTime }
|
|
|
|
* Create an instance of {@link XMLRaceStartTime }
|
|
|
|
*
|
|
|
|
* @return a new start time for the race
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public XMLRaceStartTime createXMLRaceStartTime() {
|
|
|
|
public XMLRaceStartTime createXMLRaceStartTime() {
|
|
|
|
return new XMLRaceStartTime();
|
|
|
|
return new XMLRaceStartTime();
|
|
|
|
@ -54,7 +54,7 @@ public class XMLRaceFactory {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Create an instance of {@link XMLParticipants }
|
|
|
|
* Create an instance of {@link XMLParticipants }
|
|
|
|
*
|
|
|
|
* @return a new participant of the race
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public XMLParticipants createXMLParticipants() {
|
|
|
|
public XMLParticipants createXMLParticipants() {
|
|
|
|
return new XMLParticipants();
|
|
|
|
return new XMLParticipants();
|
|
|
|
@ -62,7 +62,7 @@ public class XMLRaceFactory {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Create an instance of {@link XMLCompoundMarkSequence }
|
|
|
|
* Create an instance of {@link XMLCompoundMarkSequence }
|
|
|
|
*
|
|
|
|
* @return a new Compound Mark Sequence that hte race is to follow.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public XMLCompoundMarkSequence createXMLCompoundMarkSequence() {
|
|
|
|
public XMLCompoundMarkSequence createXMLCompoundMarkSequence() {
|
|
|
|
return new XMLCompoundMarkSequence();
|
|
|
|
return new XMLCompoundMarkSequence();
|
|
|
|
@ -70,7 +70,7 @@ public class XMLRaceFactory {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Create an instance of {@link XMLCourse }
|
|
|
|
* Create an instance of {@link XMLCourse }
|
|
|
|
*
|
|
|
|
* @return the course the race is to use.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public XMLCourse createXMLCourse() {
|
|
|
|
public XMLCourse createXMLCourse() {
|
|
|
|
return new XMLCourse();
|
|
|
|
return new XMLCourse();
|
|
|
|
@ -78,7 +78,7 @@ public class XMLRaceFactory {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Create an instance of {@link XMLCourseLimit }
|
|
|
|
* Create an instance of {@link XMLCourseLimit }
|
|
|
|
*
|
|
|
|
* @return the limits/boundaries of the course.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public XMLCourseLimit createXMLCourseLimit() {
|
|
|
|
public XMLCourseLimit createXMLCourseLimit() {
|
|
|
|
return new XMLCourseLimit();
|
|
|
|
return new XMLCourseLimit();
|
|
|
|
@ -86,7 +86,7 @@ public class XMLRaceFactory {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Create an instance of {@link XMLLimit }
|
|
|
|
* Create an instance of {@link XMLLimit }
|
|
|
|
*
|
|
|
|
* @return a point on hte boundaries
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public XMLLimit createXMLLimit() {
|
|
|
|
public XMLLimit createXMLLimit() {
|
|
|
|
return new XMLLimit();
|
|
|
|
return new XMLLimit();
|
|
|
|
@ -94,7 +94,7 @@ public class XMLRaceFactory {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Create an instance of {@link XMLCompoundMark }
|
|
|
|
* Create an instance of {@link XMLCompoundMark }
|
|
|
|
*
|
|
|
|
* @return a compound mark (made out of multiple marks)
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public XMLCompoundMark createXMLCompoundMark() {
|
|
|
|
public XMLCompoundMark createXMLCompoundMark() {
|
|
|
|
return new XMLCompoundMark();
|
|
|
|
return new XMLCompoundMark();
|
|
|
|
@ -102,7 +102,7 @@ public class XMLRaceFactory {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Create an instance of {@link XMLMark }
|
|
|
|
* Create an instance of {@link XMLMark }
|
|
|
|
*
|
|
|
|
* @return a mark
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public XMLMark createXMLMark() {
|
|
|
|
public XMLMark createXMLMark() {
|
|
|
|
return new XMLMark();
|
|
|
|
return new XMLMark();
|
|
|
|
@ -110,7 +110,7 @@ public class XMLRaceFactory {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Create an instance of {@link XMLCorner }
|
|
|
|
* Create an instance of {@link XMLCorner }
|
|
|
|
*
|
|
|
|
* @return a corner of a compound mark sequence
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public XMLCorner createXMLCorner() {
|
|
|
|
public XMLCorner createXMLCorner() {
|
|
|
|
return new XMLCorner();
|
|
|
|
return new XMLCorner();
|
|
|
|
@ -118,7 +118,7 @@ public class XMLRaceFactory {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Create an instance of {@link XMLYacht }
|
|
|
|
* Create an instance of {@link XMLYacht }
|
|
|
|
*
|
|
|
|
* @return creates a new Yacht.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public XMLYacht createXMLYacht() {
|
|
|
|
public XMLYacht createXMLYacht() {
|
|
|
|
return new XMLYacht();
|
|
|
|
return new XMLYacht();
|
|
|
|
|