Package org.geotools.gml3
Class ApplicationSchemaXSD
XSD instance for an application schema.
- Author:
- Justin Deoliveira, The Open Planning Project
-
Field Summary
Fields inherited from class XSD
entityResolver, LOGGER, schema, typeMappingProfile, typeSchema
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationSchemaXSD
(String namespaceURI, String schemaLocation) ApplicationSchemaXSD
(String namespaceURI, String schemaLocation, EntityResolver resolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addDependencies
(Set<XSD> dependencies) Subclass hook to add additional dependencies.Uses theschema.getSchemaLocation()
's parent folder as the base folder to resolvelocation
as a relative URI of.The namespace uri of the schema.The location on the local disk of the top level .xsd file which defines the schema.Methods inherited from class XSD
allDependencies, buildSchema, buildTypeMappingProfile, buildTypeSchema, createSchemaLocator, dispose, equals, getAllDependencies, getAllTypeMappingProfiles, getDependencies, getSchema, getSupplementarySchemaLocator, getTypeMappingProfile, getTypeSchema, hashCode, name, qName, toString
-
Constructor Details
-
ApplicationSchemaXSD
-
ApplicationSchemaXSD
-
-
Method Details
-
addDependencies
Description copied from class:XSD
Subclass hook to add additional dependencies.- Overrides:
addDependencies
in classXSD
-
getNamespaceURI
Description copied from class:XSD
The namespace uri of the schema.- Specified by:
getNamespaceURI
in classXSD
-
getSchemaLocation
Description copied from class:XSD
The location on the local disk of the top level .xsd file which defines the schema.- Specified by:
getSchemaLocation
in classXSD
-
createSchemaLocationResolver
Uses theschema.getSchemaLocation()
's parent folder as the base folder to resolvelocation
as a relative URI of.This way, application schemas splitted over multiple files can be resolved based on the relative location of a given import or include.
- Overrides:
createSchemaLocationResolver
in classXSD
- Returns:
- a file: style uri with the resolved schema location for the given one, or
null
iflocation
can't be resolved as a relative path of theschema
location.
-