Package org.geotools.sld
Class SLDConfiguration
- Object
-
- Configuration
-
- SLDConfiguration
-
public class SLDConfiguration extends Configuration
Parser configuration for the Styled Layer Descriptor schema.- Author:
- Justin Deoliveira, The Open Planning Project
-
-
Constructor Summary
Constructors Constructor Description SLDConfiguration()
Adds a dependency onOGCConfiguration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configureContext(MutablePicoContainer container)
Configures the sld context.protected void
configureParser(Parser parser)
Configures the parser to be used with this configuration.protected void
registerBindings(MutablePicoContainer container)
Registers the bindings for the configuration.-
Methods inherited from class Configuration
addDependency, allDependencies, configureBindings, configureBindings, configureEncoder, equals, getContext, getDependencies, getDependency, getNamespaceURI, getProperties, getXSD, hashCode, hasProperty, registerBindings, setupBindings, setupContext, setupEncoder, setupParser
-
-
-
-
Constructor Detail
-
SLDConfiguration
public SLDConfiguration()
Adds a dependency onOGCConfiguration
-
-
Method Detail
-
registerBindings
protected void registerBindings(MutablePicoContainer container)
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 intended to be subclassed by client code. Client code should use
Configuration.configureBindings(MutablePicoContainer)
. Subclasses should mark this method as final after implementing.- Overrides:
registerBindings
in classConfiguration
- Parameters:
container
- Container containing all bindings, keyed byQName
.
-
configureContext
protected void configureContext(MutablePicoContainer container)
Configures the sld context.The following factories are registered:
StyleFactoryImpl
underStyleFactory
- Overrides:
configureContext
in classConfiguration
- Parameters:
container
- The container representing the context.
-
configureParser
protected void configureParser(Parser parser)
Description copied from class:Configuration
Configures the parser to be used with this configuration.This method provides a callback for Configuration instances to configure the parser with whatever options they require.
- Overrides:
configureParser
in classConfiguration
-
-