org.geotools.wps
Class WPSConfiguration

Object
  extended by Configuration
      extended by WPSConfiguration

public class WPSConfiguration
extends Configuration

Parser configuration for the http://www.opengis.net/wps/1.0.0 schema.


Constructor Summary
WPSConfiguration()
          Creates a new configuration.
 
Method Summary
protected  void configureContext(MutablePicoContainer container)
          Configures the root context to be used when parsing elements.
protected  void registerBindings(Map bindings)
          Registers the bindings for the configuration.
 
Methods inherited from class Configuration
addDependency, allDependencies, configureBindings, configureBindings, configureEncoder, configureParser, equals, getContext, getDependencies, getDependency, getNamespaceURI, getProperties, getSchemaFileURL, getSchemaLocationResolver, getSchemaLocator, getXSD, hashCode, hasProperty, registerBindings, schema, setupBindings, setupBindings, setupContext, setupEncoder, setupParser
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WPSConfiguration

public WPSConfiguration()
Creates a new configuration.

Method Detail

registerBindings

protected void registerBindings(Map bindings)
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 not intended to be subclassed by client code. Client code should use Configuration.configureBindings(MutablePicoContainer) to override/remove/add new bindings on teh fly.

The key of the bindings map is of type QName. The value can be class, or an instance. In the case of a class, the binding will be instantiated by the parser at runtime. In the instance case the binding will be used as is.

Overrides:
registerBindings in class Configuration

configureContext

protected void configureContext(MutablePicoContainer container)
Description copied from class: Configuration
Configures the root context to be used when parsing elements.

The context satisifies any depenencencies needed by a binding. This is often a factory used to create something.

This method should be overriden. The default implementation does nothing.

Overrides:
configureContext in class Configuration
Parameters:
container - The container representing the context.


Copyright © 1996-2014 Geotools. All Rights Reserved.