org.geotools.xml
Class AppSchemaCatalog

java.lang.Object
  extended by org.geotools.xml.AppSchemaCatalog

public class AppSchemaCatalog
extends java.lang.Object

Support for application schema resolution in an OASIS Catalog (with URI resolution semantics).

Author:
Ben Caradoc-Davies, CSIRO Earth Science and Resource Engineering
See Also:

Method Summary
static AppSchemaCatalog build(java.net.URL catalogLocation)
          Build an catalog using the given OASIS Catalog file URL.
 java.lang.String resolveLocation(java.lang.String location)
          Return schema location resolved in the catalog if possible.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

resolveLocation

public java.lang.String resolveLocation(java.lang.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 AppSchemaCatalog build(java.net.URL catalogLocation)
Build an catalog using the given OASIS Catalog file URL.

Parameters:
catalogLocation - local file URL to an OASIS cCtalog
Returns:


Copyright © 1996-2010 Geotools. All Rights Reserved.