Class NetexXmlParser

java.lang.Object
org.entur.netex.loader.NetexXmlParser

public class NetexXmlParser extends Object
Simple wrapper to perform typesafe xml parsing and simple error handling.
  • 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