Class NetexDocumentParser


  • public class NetexDocumentParser
    extends Object
    This is the root parser for a Netex XML Document. The parser ONLY read the document and populate the index with entities. The parser is only responsible for populating the index, not for validating the document, nor linking of entities or mapping the OTP internal data structures.
    • Method Detail

      • parseAndPopulateIndex

        public static void parseAndPopulateIndex​(NetexEntitiesIndex index,
                                                 org.rutebanken.netex.model.PublicationDeliveryStructure doc)
        This static method create a new parser and parse the document. The result is added to given index for further processing.