Package org.entur.netex.loader
Class NetexXmlParser
java.lang.Object
org.entur.netex.loader.NetexXmlParser
Simple wrapper to perform typesafe xml parsing and simple error handling.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.rutebanken.netex.model.PublicationDeliveryStructureparseXmlDoc(InputStream stream) Parse an input stream and return the root document type for the given xml file (stream).
-
Constructor Details
-
NetexXmlParser
public NetexXmlParser()
-
-
Method Details
-
parseXmlDoc
public org.rutebanken.netex.model.PublicationDeliveryStructure parseXmlDoc(InputStream stream) throws jakarta.xml.bind.JAXBException Parse an input stream and return the root document type for the given xml file (stream).- Throws:
jakarta.xml.bind.JAXBException
-