Package org.geotools.xml.resolver
Class SchemaCatalog
- Object
-
- SchemaCatalog
-
public class SchemaCatalog extends Object
Support for XML schema resolution in an OASIS Catalog (with URI resolution semantics).- Author:
- Ben Caradoc-Davies (CSIRO Earth Science and Resource Engineering)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SchemaCatalog
build(URL catalogLocation)
Build an catalog using the given OASIS Catalog file URL.String
resolveLocation(String location)
Return schema location resolved in the catalog if possible.
-
-
-
Method Detail
-
resolveLocation
public String resolveLocation(String location)
Return schema location resolved in the catalog if possible. rewriteURI semantics are used.- Parameters:
location
- typically an absolute http/https URL.- Returns:
- 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.- Parameters:
catalogLocation
- local file URL to an OASIS cCtalog
-
-