Class NetexXmlParser


  • public class NetexXmlParser
    extends Object
    Simple wrapper to perform typesafe xml parsing and simple error handling.
    • Constructor Detail

      • NetexXmlParser

        public NetexXmlParser()
    • Method Detail

      • parseXmlDoc

        public org.rutebanken.netex.model.PublicationDeliveryStructure parseXmlDoc​(InputStream stream)
                                                                            throws JAXBException
        Parse an input stream and return the root document type for the given xml file (stream).
        Throws:
        JAXBException