Package org.geotools.sld
Class SLDConfiguration
Object
Configuration
SLDConfiguration
Parser configuration for the Styled Layer Descriptor schema.
- Author:
- Justin Deoliveira, The Open Planning Project
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigureContext(MutablePicoContainer container) Configures the sld context.protected voidconfigureParser(Parser parser) Configures the parser to be used with this configuration.protected voidregisterBindings(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 Details
-
SLDConfiguration
public SLDConfiguration()Adds a dependency onOGCConfiguration
-
-
Method Details
-
registerBindings
protected void registerBindings(MutablePicoContainer container) Description copied from class:ConfigurationRegisters 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:
registerBindingsin classConfiguration- Parameters:
container- Container containing all bindings, keyed byQName.
-
configureContext
protected void configureContext(MutablePicoContainer container) Configures the sld context.The following factories are registered:
StyleFactoryImplunderStyleFactory
- Overrides:
configureContextin classConfiguration- Parameters:
container- The container representing the context.
-
configureParser
Description copied from class:ConfigurationConfigures 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:
configureParserin classConfiguration
-