Package org.goplanit.io.converter.zoning
Class PlanitZoningWriterFactory
- java.lang.Object
-
- org.goplanit.io.converter.zoning.PlanitZoningWriterFactory
-
public class PlanitZoningWriterFactory extends Object
Factory for creating PLANit Zoning Writers- Author:
- markr
-
-
Constructor Summary
Constructors Constructor Description PlanitZoningWriterFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PlanitZoningWriter
create(String zoningPath, String countryName, org.opengis.referencing.crs.CoordinateReferenceSystem zoningCrs)
Create a PLANitZonginWriter which can persist a PLANit zoning in the native PLANit XML formatstatic PlanitZoningWriter
create(String zoningPath, String countryName, org.opengis.referencing.crs.CoordinateReferenceSystem zoningCrs, org.goplanit.xml.generated.XMLElementMacroscopicZoning xmlRawZoning)
Create a PLANitZoningWriter which can persist a PLANit zoning in the native PLANit XML format.
-
-
-
Method Detail
-
create
public static PlanitZoningWriter create(String zoningPath, String countryName, org.opengis.referencing.crs.CoordinateReferenceSystem zoningCrs)
Create a PLANitZonginWriter which can persist a PLANit zoning in the native PLANit XML format- Parameters:
zoningPath
- the file to use for persistingcountryName
- the country to base the projection method on if availablezoningCrs
- crs used by the zoning- Returns:
- created zoning writer
-
create
public static PlanitZoningWriter create(String zoningPath, String countryName, org.opengis.referencing.crs.CoordinateReferenceSystem zoningCrs, org.goplanit.xml.generated.XMLElementMacroscopicZoning xmlRawZoning)
Create a PLANitZoningWriter which can persist a PLANit zoning in the native PLANit XML format. By providing the XML memory model instance to populate we make it possible for the writer to embed the persisting in another larger XML memory model that is marshalled by an entity other than this writer in the future- Parameters:
zoningPath
- the file to use for persistingcountryName
- the country to base the projection method on if availablezoningCrs
- crs used by the zoningxmlRawZoning
- , use this specific xml memory model equivalent in this instance before marshalling via JAXb- Returns:
- created network writer
-
-