Class PlanitIntermodalReader

    • Field Detail

      • networkToPopulate

        protected final MacroscopicNetwork networkToPopulate
        the network to populate
      • zoningToPopulate

        protected final Zoning zoningToPopulate
        the zoning to populate
      • serviceNetworkToPopulate

        protected final ServiceNetwork serviceNetworkToPopulate
        the service network to (optionally) populate
      • routedServicesToPopulate

        protected final RoutedServices routedServicesToPopulate
        the routed services to (optionally) populate
      • xmlRawNetwork

        protected final org.goplanit.xml.generated.XMLElementMacroscopicNetwork xmlRawNetwork
      • xmlRawZoning

        protected final org.goplanit.xml.generated.XMLElementMacroscopicZoning xmlRawZoning
      • xmlRawServiceNetwork

        protected final org.goplanit.xml.generated.XMLElementServiceNetwork xmlRawServiceNetwork
      • xmlRawRoutedServices

        protected final org.goplanit.xml.generated.XMLElementRoutedServices xmlRawRoutedServices
    • Constructor Detail

      • PlanitIntermodalReader

        protected PlanitIntermodalReader​(String inputPathDirectory,
                                         String xmlFileExtension,
                                         IdGroupingToken idToken)
        constructor where xml content is still on disk and first needs to be parsed into memory before converted to planit memory model. Network and zoning instance are created internally and returned upon completion
        Parameters:
        inputPathDirectory - to use for both network and zoning input file assuming default input file names for both (network.xml, zoning.xml) *
        xmlFileExtension - to use
        idToken - to use for the network and zoning that are to be created
      • PlanitIntermodalReader

        protected PlanitIntermodalReader​(PlanitIntermodalReaderSettings settings,
                                         IdGroupingToken idToken)
        constructor where xml content is still on disk and first needs to be parsed into memory before converted to planit memory model. Network and zoning instance are created internally and returned upon completion
        Parameters:
        settings - to use
        idToken - to use for the network and zoning that are to be created
      • PlanitIntermodalReader

        protected PlanitIntermodalReader​(String inputPathDirectory,
                                         String xmlFileExtension,
                                         MacroscopicNetwork network,
                                         Zoning zoning)
        constructor where xml content is still on disk and first needs to be parsed into memory before converted to planit memory model
        Parameters:
        inputPathDirectory - to use for both network and zoning input file assuming default input file names for both (network.xml, zoning.xml) *
        xmlFileExtension - to use
        network - to populate
        zoning - to populate
      • PlanitIntermodalReader

        protected PlanitIntermodalReader​(String inputPathDirectory,
                                         String xmlFileExtension,
                                         MacroscopicNetwork network,
                                         Zoning zoning,
                                         ServiceNetwork serviceNetwork,
                                         RoutedServices routedServices)
        constructor where xml content is still on disk and first needs to be parsed into memory before converted to planit memory model
        Parameters:
        inputPathDirectory - to use for both network and zoning input file assuming default input file names for both (network.xml, zoning.xml) *
        xmlFileExtension - to use
        network - to populate
        zoning - to populate
        serviceNetwork - to populate (if reading with services)
        routedServices - to populate (if reading with services)
      • PlanitIntermodalReader

        public PlanitIntermodalReader​(org.goplanit.xml.generated.XMLElementMacroscopicNetwork xmlRawNetwork,
                                      org.goplanit.xml.generated.XMLElementMacroscopicZoning xmlRawZoning,
                                      MacroscopicNetwork network,
                                      Zoning zoning)
        constructor where the xml content has already been parsed into a JAXB memory model which subsequently needs to be converted into the planit memory model
        Parameters:
        xmlRawNetwork - to extract from
        xmlRawZoning - to extract from
        network - to extract referenced entities from
        zoning - to populate
      • PlanitIntermodalReader

        public PlanitIntermodalReader​(PlanitIntermodalReaderSettings settings,
                                      org.goplanit.xml.generated.XMLElementMacroscopicNetwork xmlRawNetwork,
                                      org.goplanit.xml.generated.XMLElementMacroscopicZoning xmlRawZoning,
                                      org.goplanit.xml.generated.XMLElementServiceNetwork xmlRawServiceNetwork,
                                      org.goplanit.xml.generated.XMLElementRoutedServices xmlRawRoutedServices,
                                      MacroscopicNetwork network,
                                      Zoning zoning,
                                      ServiceNetwork serviceNetwork,
                                      RoutedServices routedServices)
        constructor where the xml content has already been parsed into a JAXB memory model which subsequently needs to be converted into the planit memory model
        Parameters:
        settings - to use
        xmlRawNetwork - to extract from
        xmlRawZoning - to extract from
        xmlRawServiceNetwork - to extract from
        xmlRawRoutedServices - to extract from
        network - to extract references from (if any)
        zoning - to populate
        serviceNetwork - to populate
        routedServices - to populate