Class GML.DelegatingXSD

  • Direct Known Subclasses:
    GCO, GMD, GMX, GSR, GSS, GTS
    Enclosing class:
    GML

    public abstract static class GML.DelegatingXSD
    extends XSD
    An 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.
    • Constructor Detail

      • DelegatingXSD

        public DelegatingXSD()
    • Method Detail

      • buildSchema

        protected XSDSchema buildSchema()
                                 throws IOException
        Description copied from class: XSD
        Builds the schema from the .xsd file specified by XSD.getSchemaLocation()

        This method may be extended, but should not be overridden.

        Overrides:
        buildSchema in class XSD
        Throws:
        IOException
        See Also:
        XSD.buildSchema()