Class SchemaImportResolver

    • Constructor Detail

      • SchemaImportResolver

        public SchemaImportResolver()
    • Method Detail

      • lookupResource

        public abstract SchemaImportResolver.SchemaResource lookupResource​(String nsURI,
                                                                           String URL)
        Called when the ImportLoader wishes to resolve the given import. Should return a SchemaResource whose "equals" relationship reveals when a SchemaResource is duplicated and shouldn't be examined again. Returns null if the resource reference should be ignored.
      • reportActualNamespace

        public abstract void reportActualNamespace​(SchemaImportResolver.SchemaResource resource,
                                                   String actualNamespace)
        Called to notify that the expected namespace is different from the actual namespace, or if no namespace is known, to report the discovered namespace.