public class OWSConfiguration extends Configuration
Constructor and Description |
---|
OWSConfiguration()
Creates a new configuration.
|
Modifier and Type | Method and Description |
---|---|
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.
|
protected void |
registerBindings(MutablePicoContainer container)
Registers the bindings for the configuration.
|
addDependency, allDependencies, configureBindings, configureBindings, configureEncoder, configureParser, equals, getContext, getDependencies, getDependency, getNamespaceURI, getProperties, getSchemaFileURL, getSchemaLocationResolver, getSchemaLocator, getXSD, hashCode, hasProperty, schema, setupBindings, setupBindings, setupContext, setupEncoder, setupParser
protected final void registerBindings(MutablePicoContainer container)
registerBindings
in class Configuration
container
- Container containing all bindings, keyed by QName
.protected void registerBindings(Map bindings)
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.
registerBindings
in class Configuration
protected void configureContext(MutablePicoContainer container)
Configuration
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.
configureContext
in class Configuration
container
- The container representing the context.Copyright © 1996–2019 Geotools. All rights reserved.