Package org.goplanit.io.xml.util
Class PlanitSchema
- java.lang.Object
-
- org.goplanit.io.xml.util.PlanitSchema
-
public class PlanitSchema extends Object
Helper class to deal with XSD schema related locations for the various XML components- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description static String
MACROSCOPIC_COMBINED_INPUT_XSD
static String
MACROSCOPIC_DEMAND_XSD
static String
MACROSCOPIC_DEMAND_XSD_SCHEMA_URI_DEV
the schema URI location of planit macroscopic zoning input during developmentstatic String
MACROSCOPIC_NETWORK_XSD
static String
MACROSCOPIC_NETWORK_XSD_SCHEMA_URI_DEV
the schema URI location of planit macroscopic network input during developmentstatic String
MACROSCOPIC_ZONING_XSD
static String
MACROSCOPIC_ZONING_XSD_SCHEMA_URI_DEV
the schema URI location of planit macroscopic zoning input during developmentstatic String
METADATA_XSD
static String
RESOURCES_RELEASE_GENERIC
base location for any resources (such as schemas) for any release version, but without the actual version or resource appended yetstatic String
ROUTED_SERVICES_XSD
static String
SERVICE_NETWORK_XSD
static String
XSD_SCHEMA_URI_DEVELOPMENT_GENERIC
the schema URI location (dir) of XML components during developmentstatic String
XSD_SCHEMA_URI_RELEASE_GENERIC
the schema URI location of any PLANit XSD schema for any release version, but without the actual version or schema appended yet
-
Constructor Summary
Constructors Constructor Description PlanitSchema()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
createPlanitSchemaUri(String xsdFileName)
create the appropriate URI reference for the xsd schema assuming it is published according to PLANit guidelines meaning that when this is a development version it resides underXSD_SCHEMA_URI_DEVELOPMENT_GENERIC
whereas if this is a release version theRESOURCES_RELEASE_GENERIC
is supplemented with the correct release version and appended with the xsd schema location
-
-
-
Field Detail
-
MACROSCOPIC_NETWORK_XSD
public static final String MACROSCOPIC_NETWORK_XSD
- See Also:
- Constant Field Values
-
MACROSCOPIC_DEMAND_XSD
public static final String MACROSCOPIC_DEMAND_XSD
- See Also:
- Constant Field Values
-
MACROSCOPIC_ZONING_XSD
public static final String MACROSCOPIC_ZONING_XSD
- See Also:
- Constant Field Values
-
SERVICE_NETWORK_XSD
public static final String SERVICE_NETWORK_XSD
- See Also:
- Constant Field Values
-
ROUTED_SERVICES_XSD
public static final String ROUTED_SERVICES_XSD
- See Also:
- Constant Field Values
-
METADATA_XSD
public static final String METADATA_XSD
- See Also:
- Constant Field Values
-
MACROSCOPIC_COMBINED_INPUT_XSD
public static final String MACROSCOPIC_COMBINED_INPUT_XSD
- See Also:
- Constant Field Values
-
XSD_SCHEMA_URI_DEVELOPMENT_GENERIC
public static final String XSD_SCHEMA_URI_DEVELOPMENT_GENERIC
the schema URI location (dir) of XML components during development- See Also:
- Constant Field Values
-
RESOURCES_RELEASE_GENERIC
public static final String RESOURCES_RELEASE_GENERIC
base location for any resources (such as schemas) for any release version, but without the actual version or resource appended yet- See Also:
- Constant Field Values
-
MACROSCOPIC_NETWORK_XSD_SCHEMA_URI_DEV
public static final String MACROSCOPIC_NETWORK_XSD_SCHEMA_URI_DEV
the schema URI location of planit macroscopic network input during development- See Also:
- Constant Field Values
-
MACROSCOPIC_ZONING_XSD_SCHEMA_URI_DEV
public static final String MACROSCOPIC_ZONING_XSD_SCHEMA_URI_DEV
the schema URI location of planit macroscopic zoning input during development- See Also:
- Constant Field Values
-
MACROSCOPIC_DEMAND_XSD_SCHEMA_URI_DEV
public static final String MACROSCOPIC_DEMAND_XSD_SCHEMA_URI_DEV
the schema URI location of planit macroscopic zoning input during development- See Also:
- Constant Field Values
-
XSD_SCHEMA_URI_RELEASE_GENERIC
public static final String XSD_SCHEMA_URI_RELEASE_GENERIC
the schema URI location of any PLANit XSD schema for any release version, but without the actual version or schema appended yet- See Also:
- Constant Field Values
-
-
Method Detail
-
createPlanitSchemaUri
public static String createPlanitSchemaUri(String xsdFileName)
create the appropriate URI reference for the xsd schema assuming it is published according to PLANit guidelines meaning that when this is a development version it resides underXSD_SCHEMA_URI_DEVELOPMENT_GENERIC
whereas if this is a release version theRESOURCES_RELEASE_GENERIC
is supplemented with the correct release version and appended with the xsd schema location- Parameters:
xsdFileName
- to create URI reference for- Returns:
- PLANit compatible URI reference
-
-