public class ApplicationSchemaXSD extends XSD
Copied from org.geotools.gml3 making use of addDependencies with our gml2.GML instance.
LOGGER, schema, typeMappingProfile, typeSchema| Constructor and Description |
|---|
ApplicationSchemaXSD(String namespaceURI,
String schemaLocation) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDependencies(Set<XSD> dependencies)
Subclass hook to add additional dependencies.
|
SchemaLocationResolver |
createSchemaLocationResolver()
Uses the
schema.getSchemaLocation()'s parent folder as the base folder to
resolve location as a relative URI of. |
String |
getNamespaceURI()
The namespace uri of the schema.
|
String |
getSchemaLocation()
The location on the local disk of the top level .xsd file which defines the schema.
|
allDependencies, buildSchema, buildTypeMappingProfile, buildTypeSchema, createSchemaLocator, dispose, equals, getAllDependencies, getAllTypeMappingProfiles, getDependencies, getSchema, getSupplementarySchemaLocator, getTypeMappingProfile, getTypeSchema, hashCode, name, qName, toStringprotected void addDependencies(Set<XSD> dependencies)
XSDaddDependencies in class XSDpublic String getNamespaceURI()
XSDgetNamespaceURI in class XSDpublic String getSchemaLocation()
XSDgetSchemaLocation in class XSDpublic SchemaLocationResolver createSchemaLocationResolver()
schema.getSchemaLocation()'s parent folder as the base folder to
resolve location 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.
createSchemaLocationResolver in class XSDnull
if location can't be resolved as a relative path of the schema
location.Copyright © 1996–2021 Geotools. All rights reserved.