Package org.geotools.ows.v1_1
Class OWSConfiguration
Object
Configuration
OWSConfiguration
Parser configuration for the http://www.opengis.net/ows/1.1 schema.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigureContext(MutablePicoContainer container) Configures the root context to be used when parsing elements.protected voidregisterBindings(Map bindings) Registers the bindings for the configuration.protected final voidregisterBindings(MutablePicoContainer container) Registers the bindings for the configuration.Methods inherited from class Configuration
addDependency, allDependencies, configureBindings, configureBindings, configureEncoder, configureParser, equals, getContext, getDependencies, getDependency, getNamespaceURI, getProperties, getXSD, hashCode, hasProperty, setupBindings, setupContext, setupEncoder, setupParser
-
Constructor Details
-
OWSConfiguration
public OWSConfiguration()Creates a new configuration.
-
-
Method Details
-
registerBindings
protected final void registerBindings(MutablePicoContainer container) Registers the bindings for the configuration.- Overrides:
registerBindingsin classConfiguration- Parameters:
container- Container containing all bindings, keyed byQName.
-
registerBindings
Description copied from class:ConfigurationRegisters 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 the 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:
registerBindingsin classConfiguration
-
configureContext
protected void configureContext(MutablePicoContainer container) Description copied from class:ConfigurationConfigures the root context to be used when parsing elements.The context satisfies any dependencies needed by a binding. This is often a factory used to create something.
This method should be overridden. The default implementation does nothing.
- Overrides:
configureContextin classConfiguration- Parameters:
container- The container representing the context.
-