|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.xml.Configuration
org.geotools.ows.v1_1.OWSConfiguration
public class OWSConfiguration
Parser configuration for the http://www.opengis.net/ows/1.1 schema.
Constructor Summary | |
---|---|
OWSConfiguration()
Creates a new configuration. |
Method Summary | |
---|---|
protected void |
configureContext(org.picocontainer.MutablePicoContainer container)
Configures the root context to be used when parsing elements. |
protected void |
registerBindings(java.util.Map bindings)
Registers the bindings for the configuration. |
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, equals, getContext, getDependencies, getNamespaceURI, getProperties, getSchemaFileURL, getSchemaLocationResolver, getSchemaLocator, getXSD, hashCode, hasProperty, schema, setupBindings, setupBindings, setupContext |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OWSConfiguration()
Method Detail |
---|
protected final void registerBindings(org.picocontainer.MutablePicoContainer container)
registerBindings
in class Configuration
container
- Container containing all bindings, keyed by QName
.protected void registerBindings(java.util.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 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.
registerBindings
in class Configuration
protected void configureContext(org.picocontainer.MutablePicoContainer container)
Configuration
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.
configureContext
in class Configuration
container
- The container representing the context.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |