Class PlanitRoutedServicesReader

    • Field Detail

      • ROUTED_SERVICES_XSD_FILE

        public static final String ROUTED_SERVICES_XSD_FILE
        Default XSD files used to validate input XML files against, TODO: move to properties file
        See Also:
        Constant Field Values
    • Constructor Detail

      • PlanitRoutedServicesReader

        protected PlanitRoutedServicesReader​(org.goplanit.xml.generated.XMLElementRoutedServices populatedXmlRawRoutedServices,
                                             RoutedServices routedServices)
                                      throws PlanItException
        Constructor where file has already been parsed and we only need to convert from raw XML objects to PLANit memory model
        Parameters:
        populatedXmlRawRoutedServices - to extract from
        routedServices - to populate
        Throws:
        PlanItException - thrown if error
      • PlanitRoutedServicesReader

        protected PlanitRoutedServicesReader​(String inputPathDirectory,
                                             String xmlFileExtension,
                                             RoutedServices routedServices)
                                      throws PlanItException
        Constructor
        Parameters:
        inputPathDirectory - to use
        xmlFileExtension - to use
        routedServices - to populate
        Throws:
        PlanItException - thrown if error