|Constructor and Description|
Creates a new configuration.
|Modifier and Type||Method and Description|
Configures the root context to be used when parsing elements.
Configures the parser to be used with this configuration.
Registers the bindings for the configuration.
addDependency, allDependencies, configureBindings, configureBindings, configureEncoder, equals, getContext, getDependencies, getDependency, getNamespaceURI, getProperties, getSchemaFileURL, getSchemaLocationResolver, getSchemaLocator, getXSD, hashCode, hasProperty, registerBindings, schema, setupBindings, setupBindings, setupContext, setupEncoder, setupParser
protected void configureContext(MutablePicoContainer container)
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.
protected void registerBindings(Map bindings)
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.
Copyright © 1996–2017 Geotools. All rights reserved.