org.geotools.gml3
Class ApplicationSchemaConfiguration

java.lang.Object
  extended by org.geotools.xml.Configuration
      extended by org.geotools.gml3.ApplicationSchemaConfiguration

public class ApplicationSchemaConfiguration
extends Configuration

An xml configuration for application schemas.

This Configuration expects the namespace and schema location URI of the main xsd file for a given application schema and is able to resolve the schema location for the includes and imports as well as they're defined as relative paths and the provided schemaLocation is a file URI.

Since:
2.4
Version:
$Id: ApplicationSchemaConfiguration.java 34128 2009-10-12 07:08:50Z mbedward $
Author:
Justin Deoliveira, The Open Planning Project, Gabriel Roldan, Axios Engineering

Constructor Summary
ApplicationSchemaConfiguration(java.lang.String namespace, java.lang.String schemaLocation)
           
 
Method Summary
protected  void registerBindings(org.picocontainer.MutablePicoContainer container)
          Registers the bindings for the configuration.
 
Methods inherited from class org.geotools.xml.Configuration
addDependency, allDependencies, configureBindings, configureBindings, configureContext, equals, getContext, getDependencies, getNamespaceURI, getProperties, getSchemaFileURL, getSchemaLocationResolver, getSchemaLocator, getXSD, hashCode, hasProperty, registerBindings, schema, setupBindings, setupBindings, setupContext
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationSchemaConfiguration

public ApplicationSchemaConfiguration(java.lang.String namespace,
                                      java.lang.String schemaLocation)
Method Detail

registerBindings

protected void registerBindings(org.picocontainer.MutablePicoContainer container)
Description copied from class: Configuration
Registers the bindings for the configuration.

This method is intended to provide the default bindings for a configuration and is intended to be subclassed by client code. Client code should use Configuration.configureBindings(MutablePicoContainer) .

Subclasses should mark this method as final after implementing.

Overrides:
registerBindings in class Configuration
Parameters:
container - Container containing all bindings, keyed by QName.


Copyright © 1996-2010 Geotools. All Rights Reserved.