Class V3UnmarshallersKt
-
- All Implemented Interfaces:
public final class V3UnmarshallersKt
-
-
Method Summary
Modifier and Type Method Description final static Triple<Object, String, Class<?>>
unmarshalGenericIofV3(String xml, Boolean validateXml)
Convert an XML file to an object of IOF V3 type. final static CompetitorList
unmarshalIofV3CompetitorList(String xml)
Deserialize CompetitorList XML to an object of type CompetitorList final static OrganisationList
unmarshalIofV3OrganisationList(String xml)
Deserialize OrganisationList XML to an object of type OrganisationList final static EventList
unmarshalIofV3EventList(String xml)
Deserialize EventList XML to an object of type EventList final static ClassList
unmarshalIofV3ClassList(String xml)
Deserialize ClassList XML to an object of type ClassList final static EntryList
unmarshalIofV3EntryList(String xml)
Deserialize EntryList XML to an object of type EntryList final static CourseData
unmarshalIofV3CourseData(String xml)
Deserialize CourseData XML to an object of type CourseData final static StartList
unmarshalIofV3StartList(String xml)
Deserialize StartList XML to an object of type StartList final static ResultList
unmarshalIofV3ResultList(String xml)
Deserialize ResultList XML to an object of type ResultList final static ServiceRequestList
unmarshalIofV3ServiceRequestList(String xml)
Deserialize ServiceRequestList XML to an object of type ServiceRequestList final static ControlCardList
unmarshalIofV3ControlCardList(String xml)
Deserialize ControlCardList XML to an object of type ControlCardList -
-
Method Detail
-
unmarshalGenericIofV3
final static Triple<Object, String, Class<?>> unmarshalGenericIofV3(String xml, Boolean validateXml)
Convert an XML file to an object of IOF V3 type. This function could be great for testing, but in production you may want to use one of the specialized converters, e.g.
unmarshalIofV3CompetitorList
.- Parameters:
xml
- XML string to be deserializedvalidateXml
- if the XML string should be validated against IOF V3 XSD
-
unmarshalIofV3CompetitorList
final static CompetitorList unmarshalIofV3CompetitorList(String xml)
Deserialize CompetitorList XML to an object of type CompetitorList
-
unmarshalIofV3OrganisationList
final static OrganisationList unmarshalIofV3OrganisationList(String xml)
Deserialize OrganisationList XML to an object of type OrganisationList
-
unmarshalIofV3EventList
final static EventList unmarshalIofV3EventList(String xml)
Deserialize EventList XML to an object of type EventList
-
unmarshalIofV3ClassList
final static ClassList unmarshalIofV3ClassList(String xml)
Deserialize ClassList XML to an object of type ClassList
-
unmarshalIofV3EntryList
final static EntryList unmarshalIofV3EntryList(String xml)
Deserialize EntryList XML to an object of type EntryList
-
unmarshalIofV3CourseData
final static CourseData unmarshalIofV3CourseData(String xml)
Deserialize CourseData XML to an object of type CourseData
-
unmarshalIofV3StartList
final static StartList unmarshalIofV3StartList(String xml)
Deserialize StartList XML to an object of type StartList
-
unmarshalIofV3ResultList
final static ResultList unmarshalIofV3ResultList(String xml)
Deserialize ResultList XML to an object of type ResultList
-
unmarshalIofV3ServiceRequestList
final static ServiceRequestList unmarshalIofV3ServiceRequestList(String xml)
Deserialize ServiceRequestList XML to an object of type ServiceRequestList
-
unmarshalIofV3ControlCardList
final static ControlCardList unmarshalIofV3ControlCardList(String xml)
Deserialize ControlCardList XML to an object of type ControlCardList
-
-
-
-