Package org.geotools.gml3.v3_2
Class GML.DelegatingXSD
-
- Enclosing class:
- GML
public abstract static class GML.DelegatingXSD extends XSD
AnXSDthat 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 overridebuildSchema()rather thanXSD.getSchema()to ensure the internal implementation of XSD works correctly, as it makes direct access to the schema via the schema field.
-
-
Field Summary
-
Fields inherited from class XSD
entityResolver, LOGGER, schema, typeMappingProfile, typeSchema
-
-
Constructor Summary
Constructors Constructor Description DelegatingXSD()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected XSDSchemabuildSchema()Builds the schema from the .xsd file specified byXSD.getSchemaLocation()-
Methods inherited from class XSD
addDependencies, allDependencies, buildTypeMappingProfile, buildTypeSchema, createSchemaLocationResolver, createSchemaLocator, dispose, equals, getAllDependencies, getAllTypeMappingProfiles, getDependencies, getNamespaceURI, getSchema, getSchemaLocation, getSupplementarySchemaLocator, getTypeMappingProfile, getTypeSchema, hashCode, name, qName, toString
-
-
-
-
Method Detail
-
buildSchema
protected XSDSchema buildSchema() throws IOExceptionDescription copied from class:XSDBuilds the schema from the .xsd file specified byXSD.getSchemaLocation()This method may be extended, but should not be overridden.
- Overrides:
buildSchemain classXSD- Throws:
IOException- See Also:
XSD.buildSchema()
-
-