Class PlanitNetworkReaderFactory
- java.lang.Object
-
- org.goplanit.io.converter.network.PlanitNetworkReaderFactory
-
public class PlanitNetworkReaderFactory extends Object
Factory for creating PLANitNetworkReaders- Author:
- markr
-
-
Constructor Summary
Constructors Constructor Description PlanitNetworkReaderFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PlanitNetworkReadercreate()Create a PLANitNetworkReader which will create its own macroscopic network and non-locale specific defaults for any right hand driving countrystatic PlanitNetworkReadercreate(String inputDirectory)Create a PLANitNetworkReader which will create its own macroscopic network and non-locale specific defaults for any right hand driving countrystatic PlanitNetworkReadercreate(String inputDirectory, String xmlFileExtension, LayeredNetwork<?,?> network)Create a PLANitNetworkReader which will create its own macroscopic network and non-locale specific defaults for any right hand driving countrystatic PlanitNetworkReadercreate(PlanitNetworkReaderSettings settings)Create a PLANitNetworkReader which will create its own macroscopic network and non-locale specific defaults for any right hand driving countrystatic PlanitNetworkReadercreate(PlanitNetworkReaderSettings settings, LayeredNetwork<?,?> network)Create a PLANitNetworkReader which will create its own macroscopic network and non-locale specific defaults for any right hand driving countrystatic PlanitNetworkReadercreate(IdGroupingToken idToken)Create a PLANitNetworkReader which will create its own macroscopic network and non-locale specific defaults for any right hand driving countrystatic PlanitNetworkReadercreate(org.goplanit.xml.generated.XMLElementMacroscopicNetwork xmlRawNetwork, PlanitNetworkReaderSettings settings, LayeredNetwork<?,?> network)Create a PLANitNetworkReader which will create its own macroscopic network and non-locale specific defaults for any right hand driving countrystatic PlanitNetworkReadercreate(org.goplanit.xml.generated.XMLElementMacroscopicNetwork xmlRawNetwork, LayeredNetwork<?,?> network)Create a PLANitNetworkReader which will create its own macroscopic network and non-locale specific defaults for any right hand driving country
-
-
-
Method Detail
-
create
public static PlanitNetworkReader create()
Create a PLANitNetworkReader which will create its own macroscopic network and non-locale specific defaults for any right hand driving country- Returns:
- created PLANit network reader
-
create
public static PlanitNetworkReader create(IdGroupingToken idToken)
Create a PLANitNetworkReader which will create its own macroscopic network and non-locale specific defaults for any right hand driving country- Parameters:
idToken- to use for network- Returns:
- created PLANit network reader
-
create
public static PlanitNetworkReader create(String inputDirectory)
Create a PLANitNetworkReader which will create its own macroscopic network and non-locale specific defaults for any right hand driving country- Parameters:
inputDirectory- to use (directory only, find first compatible file)- Returns:
- created PLANit network reader
-
create
public static PlanitNetworkReader create(PlanitNetworkReaderSettings settings)
Create a PLANitNetworkReader which will create its own macroscopic network and non-locale specific defaults for any right hand driving country- Parameters:
settings- to use- Returns:
- created PLANit network reader
-
create
public static PlanitNetworkReader create(PlanitNetworkReaderSettings settings, LayeredNetwork<?,?> network)
Create a PLANitNetworkReader which will create its own macroscopic network and non-locale specific defaults for any right hand driving country- Parameters:
settings- to usenetwork- to use- Returns:
- created PLANit network reader
-
create
public static PlanitNetworkReader create(String inputDirectory, String xmlFileExtension, LayeredNetwork<?,?> network)
Create a PLANitNetworkReader which will create its own macroscopic network and non-locale specific defaults for any right hand driving country- Parameters:
inputDirectory- to use (directory only, find first compatible file)xmlFileExtension- to considernetwork- to populate- Returns:
- created PLANit reader
-
create
public static PlanitNetworkReader create(org.goplanit.xml.generated.XMLElementMacroscopicNetwork xmlRawNetwork, LayeredNetwork<?,?> network)
Create a PLANitNetworkReader which will create its own macroscopic network and non-locale specific defaults for any right hand driving country- Parameters:
xmlRawNetwork- the raw network based on the JAXB parsernetwork- to populate- Returns:
- created PLANit reader
-
create
public static PlanitNetworkReader create(org.goplanit.xml.generated.XMLElementMacroscopicNetwork xmlRawNetwork, PlanitNetworkReaderSettings settings, LayeredNetwork<?,?> network)
Create a PLANitNetworkReader which will create its own macroscopic network and non-locale specific defaults for any right hand driving country- Parameters:
xmlRawNetwork- the raw network based on the JAXB parsersettings- to usenetwork- to populate- Returns:
- created PLANit reader
-
-