Created Schema for Race xml's and generated classes for reading xml with xjc, made the RaceXMLReader read Corner classes in as well as making a corner class #story[1092]
This commit is contained in:
@@ -0,0 +1,127 @@
|
||||
//
|
||||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
|
||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||
// Generated on: 2017.08.03 at 02:28:57 AM NZST
|
||||
//
|
||||
|
||||
|
||||
package mock.xml;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRegistry;
|
||||
|
||||
|
||||
/**
|
||||
* This object contains factory methods for each
|
||||
* Java content interface and Java element interface
|
||||
* generated in the race package.
|
||||
* <p>An ObjectFactory allows you to programatically
|
||||
* construct new instances of the Java representation
|
||||
* for XML content. The Java representation of XML
|
||||
* content can consist of schema derived interfaces
|
||||
* and classes representing the binding of schema
|
||||
* type definitions, element declarations and model
|
||||
* groups. Factory methods for each of these are
|
||||
* provided in this class.
|
||||
*
|
||||
*/
|
||||
@XmlRegistry
|
||||
public class ObjectFactory {
|
||||
|
||||
|
||||
/**
|
||||
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: race
|
||||
*
|
||||
*/
|
||||
public ObjectFactory() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Race }
|
||||
*
|
||||
*/
|
||||
public Race createRace() {
|
||||
return new Race();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Race.CourseLimit }
|
||||
*
|
||||
*/
|
||||
public Race.CourseLimit createRaceCourseLimit() {
|
||||
return new Race.CourseLimit();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Race.Course }
|
||||
*
|
||||
*/
|
||||
public Race.Course createRaceCourse() {
|
||||
return new Race.Course();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Race.Course.CompoundMark }
|
||||
*
|
||||
*/
|
||||
public Race.Course.CompoundMark createRaceCourseCompoundMark() {
|
||||
return new Race.Course.CompoundMark();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Race.CompoundMarkSequence }
|
||||
*
|
||||
*/
|
||||
public Race.CompoundMarkSequence createRaceCompoundMarkSequence() {
|
||||
return new Race.CompoundMarkSequence();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Race.Participants }
|
||||
*
|
||||
*/
|
||||
public Race.Participants createRaceParticipants() {
|
||||
return new Race.Participants();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Race.RaceStartTime }
|
||||
*
|
||||
*/
|
||||
public Race.RaceStartTime createRaceRaceStartTime() {
|
||||
return new Race.RaceStartTime();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Race.CourseLimit.Limit }
|
||||
*
|
||||
*/
|
||||
public Race.CourseLimit.Limit createRaceCourseLimitLimit() {
|
||||
return new Race.CourseLimit.Limit();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Race.Course.CompoundMark.Mark }
|
||||
*
|
||||
*/
|
||||
public Race.Course.CompoundMark.Mark createRaceCourseCompoundMarkMark() {
|
||||
return new Race.Course.CompoundMark.Mark();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Race.CompoundMarkSequence.Corner }
|
||||
*
|
||||
*/
|
||||
public Race.CompoundMarkSequence.Corner createRaceCompoundMarkSequenceCorner() {
|
||||
return new Race.CompoundMarkSequence.Corner();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Race.Participants.Yacht }
|
||||
*
|
||||
*/
|
||||
public Race.Participants.Yacht createRaceParticipantsYacht() {
|
||||
return new Race.Participants.Yacht();
|
||||
}
|
||||
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,127 @@
|
||||
//
|
||||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
|
||||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
||||
// Any modifications to this file will be lost upon recompilation of the source schema.
|
||||
// Generated on: 2017.08.03 at 01:07:33 AM NZST
|
||||
//
|
||||
|
||||
|
||||
package mock.xml;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRegistry;
|
||||
|
||||
|
||||
/**
|
||||
* This object contains factory methods for each
|
||||
* Java content interface and Java element interface
|
||||
* generated in the main.java.mock.xml package.
|
||||
* <p>An ObjectFactory allows you to programatically
|
||||
* construct new instances of the Java representation
|
||||
* for XML content. The Java representation of XML
|
||||
* content can consist of schema derived interfaces
|
||||
* and classes representing the binding of schema
|
||||
* type definitions, element declarations and model
|
||||
* groups. Factory methods for each of these are
|
||||
* provided in this class.
|
||||
*
|
||||
*/
|
||||
@XmlRegistry
|
||||
public class RaceFactory {
|
||||
|
||||
|
||||
/**
|
||||
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: main.java.mock.xml
|
||||
*
|
||||
*/
|
||||
public RaceFactory() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Race }
|
||||
*
|
||||
*/
|
||||
public Race createRace() {
|
||||
return new Race();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Race.CourseLimit }
|
||||
*
|
||||
*/
|
||||
public Race.CourseLimit createRaceCourseLimit() {
|
||||
return new Race.CourseLimit();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Race.Course }
|
||||
*
|
||||
*/
|
||||
public Race.Course createRaceCourse() {
|
||||
return new Race.Course();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Race.Course.CompoundMark }
|
||||
*
|
||||
*/
|
||||
public Race.Course.CompoundMark createRaceCourseCompoundMark() {
|
||||
return new Race.Course.CompoundMark();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Race.CompoundMarkSequence }
|
||||
*
|
||||
*/
|
||||
public Race.CompoundMarkSequence createRaceCompoundMarkSequence() {
|
||||
return new Race.CompoundMarkSequence();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Race.Participants }
|
||||
*
|
||||
*/
|
||||
public Race.Participants createRaceParticipants() {
|
||||
return new Race.Participants();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Race.RaceStartTime }
|
||||
*
|
||||
*/
|
||||
public Race.RaceStartTime createRaceRaceStartTime() {
|
||||
return new Race.RaceStartTime();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Race.CourseLimit.Limit }
|
||||
*
|
||||
*/
|
||||
public Race.CourseLimit.Limit createRaceCourseLimitLimit() {
|
||||
return new Race.CourseLimit.Limit();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Race.Course.CompoundMark.Mark }
|
||||
*
|
||||
*/
|
||||
public Race.Course.CompoundMark.Mark createRaceCourseCompoundMarkMark() {
|
||||
return new Race.Course.CompoundMark.Mark();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Race.CompoundMarkSequence.Corner }
|
||||
*
|
||||
*/
|
||||
public Race.CompoundMarkSequence.Corner createRaceCompoundMarkSequenceCorner() {
|
||||
return new Race.CompoundMarkSequence.Corner();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Race.Participants.Yacht }
|
||||
*
|
||||
*/
|
||||
public Race.Participants.Yacht createRaceParticipantsYacht() {
|
||||
return new Race.Participants.Yacht();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user