Class SchemaCatalog

  • public class SchemaCatalog
    extends Object
    Support for XML schema resolution in an OASIS Catalog (with URI resolution semantics).
    Ben Caradoc-Davies (CSIRO Earth Science and Resource Engineering)
    • Method Detail

      • resolveLocation

        public String resolveLocation​(String location)
        Return schema location resolved in the catalog if possible. rewriteURI semantics are used.
        location - typically an absolute http/https URL.
        null if location not found in the catalog
      • build

        public static SchemaCatalog build​(URL catalogLocation)
        Build an catalog using the given OASIS Catalog file URL.
        catalogLocation - local file URL to an OASIS cCtalog