public abstract static class GML.DelegatingXSD extends XSD
XSD
that delegates to GML for its XSDSchema. This allows us to load the full
schema, including cyclic dependencies, into the top-level GML schema, and have the other
namespaces represented by their own XSD which uses the same GML schema. We override buildSchema()
rather than XSD.getSchema()
to ensure the internal implementation of XSD
works correctly, as it makes direct access to the schema via the schema field.LOGGER, schema, typeMappingProfile, typeSchema
Constructor and Description |
---|
DelegatingXSD() |
Modifier and Type | Method and Description |
---|---|
protected XSDSchema |
buildSchema()
Builds the schema from the .xsd file specified by
XSD.getSchemaLocation()
This method may be extended, but should not be overridden. |
addDependencies, allDependencies, buildTypeMappingProfile, buildTypeSchema, createSchemaLocationResolver, createSchemaLocator, dispose, equals, getAllDependencies, getAllTypeMappingProfiles, getDependencies, getNamespaceURI, getSchema, getSchemaLocation, getSupplementarySchemaLocator, getTypeMappingProfile, getTypeSchema, hashCode, name, qName, toString
protected XSDSchema buildSchema() throws IOException
XSD
XSD.getSchemaLocation()
This method may be extended, but should not be overridden.
buildSchema
in class XSD
IOException
XSD.buildSchema()
Copyright © 1996–2019 Geotools. All rights reserved.