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 voidaddDependencies(Set<XSD> dependencies) Subclass hook to add additional dependencies.Uses theschema.getSchemaLocation()'s parent folder as the base folder to resolvelocationas 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:XSDSubclass hook to add additional dependencies.- Overrides:
addDependenciesin classXSD
-
getNamespaceURI
Description copied from class:XSDThe namespace uri of the schema.- Specified by:
getNamespaceURIin classXSD
-
getSchemaLocation
Description copied from class:XSDThe location on the local disk of the top level .xsd file which defines the schema.- Specified by:
getSchemaLocationin classXSD
-
createSchemaLocationResolver
Uses theschema.getSchemaLocation()'s parent folder as the base folder to resolvelocationas 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:
createSchemaLocationResolverin classXSD- Returns:
- a file: style uri with the resolved schema location for the given one, or
nulliflocationcan't be resolved as a relative path of theschemalocation.
-