Package org.planit.io.xml.network
Class ProcessInfrastructure
- java.lang.Object
-
- org.planit.io.xml.network.ProcessInfrastructure
-
public class ProcessInfrastructure extends Object
Process the Infrastructure object populated with data from the XML file- Author:
- gman6028
-
-
Constructor Summary
Constructors Constructor Description ProcessInfrastructure()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcreateAndRegisterLinkSegments(org.planit.xml.generated.XMLElementInfrastructure infrastructure, MacroscopicNetwork network, Map<Long,MacroscopicLinkSegmentTypeXmlHelper> linkSegmentTypeHelperMap, InputBuilderListener inputBuilderListener)Generated and register link segmentsstatic voidcreateAndRegisterNodes(org.planit.xml.generated.XMLElementInfrastructure infrastructure, MacroscopicNetwork network, InputBuilderListener inputBuilderListener)Create and register nodes on the network
-
-
-
Method Detail
-
createAndRegisterNodes
public static void createAndRegisterNodes(org.planit.xml.generated.XMLElementInfrastructure infrastructure, MacroscopicNetwork network, InputBuilderListener inputBuilderListener) throws PlanItExceptionCreate and register nodes on the network- Parameters:
infrastructure- Infrastructure object populated with data from XML filenetwork- network the physical network object to be populated from the input datainputBuilderListener- parser which holds the Map of nodes by external Id- Throws:
PlanItException- thrown if there is an error in storing the GML Point definition
-
createAndRegisterLinkSegments
public static void createAndRegisterLinkSegments(org.planit.xml.generated.XMLElementInfrastructure infrastructure, MacroscopicNetwork network, Map<Long,MacroscopicLinkSegmentTypeXmlHelper> linkSegmentTypeHelperMap, InputBuilderListener inputBuilderListener) throws PlanItExceptionGenerated and register link segments- Parameters:
infrastructure- Infrastructure object populated with data from XML filenetwork- network the physical network object to be populated from the input datalinkSegmentTypeHelperMap- Map of MacroscopicLinkSegmentTypeXmlHelper objectsinputBuilderListener- parser which holds the Map of nodes by external Id- Throws:
PlanItException- thrown if there is an error during processing or reference to link segment types invalid
-
-