org.geotools.xml
Class AppSchemaXSD

java.lang.Object
  extended by org.geotools.xml.XSD
      extended by org.geotools.xml.AppSchemaXSD

public class AppSchemaXSD
extends XSD

XSD that uses AppSchemaResolver to locate schema resources in a catalog, on the classpath, or in a cache.

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

Field Summary
 
Fields inherited from class org.geotools.xml.XSD
LOGGER, schema, typeMappingProfile, typeSchema
 
Constructor Summary
AppSchemaXSD(java.lang.String namespaceUri, java.lang.String schemaLocation, AppSchemaResolver resolver)
           
 
Method Summary
protected  void addDependencies(java.util.Set dependencies)
          Subclass hook to add additional dependencies.
 SchemaLocationResolver createSchemaLocationResolver()
           
 java.lang.String getNamespaceURI()
          The namespace uri of the schema.
 java.lang.String getSchemaLocation()
          The location on the local disk of the top level .xsd file which defines the schema.
 void setConfiguration(AppSchemaConfiguration configuration)
           
 
Methods inherited from class org.geotools.xml.XSD
allDependencies, buildSchema, buildTypeMappingProfile, buildTypeSchema, createSchemaLocator, equals, getAllDependencies, getDependencies, getSchema, getTypeMappingProfile, getTypeSchema, hashCode, name, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AppSchemaXSD

public AppSchemaXSD(java.lang.String namespaceUri,
                    java.lang.String schemaLocation,
                    AppSchemaResolver resolver)
Parameters:
namespaceUri -
schemaLocation -
resolver -
Method Detail

getNamespaceURI

public java.lang.String getNamespaceURI()
Description copied from class: XSD
The namespace uri of the schema.

Specified by:
getNamespaceURI in class XSD
See Also:
XSD.getNamespaceURI()

getSchemaLocation

public java.lang.String getSchemaLocation()
Description copied from class: XSD
The location on the local disk of the top level .xsd file which defines the schema.

Specified by:
getSchemaLocation in class XSD
See Also:
XSD.getSchemaLocation()

setConfiguration

public void setConfiguration(AppSchemaConfiguration configuration)
Parameters:
configuration -

createSchemaLocationResolver

public SchemaLocationResolver createSchemaLocationResolver()
Overrides:
createSchemaLocationResolver in class XSD
See Also:
XSD.createSchemaLocationResolver()

addDependencies

protected void addDependencies(java.util.Set dependencies)
Description copied from class: XSD
Subclass hook to add additional dependencies.

Overrides:
addDependencies in class XSD
See Also:
XSD.addDependencies(java.util.Set)


Copyright © 1996-2010 Geotools. All Rights Reserved.