org.geotools.sld
Class SLDConfiguration

Object
  extended by Configuration
      extended by SLDConfiguration

public class SLDConfiguration
extends Configuration

Parser configuration for the Styled Layer Descriptor schema.

Author:
Justin Deoliveira, The Open Planning Project

Constructor Summary
SLDConfiguration()
          Adds a dependency on OGCConfiguration
 
Method Summary
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, getSchemaFileURL, getSchemaLocationResolver, getSchemaLocator, getXSD, hashCode, hasProperty, registerBindings, schema, setupBindings, setupBindings, setupContext, setupEncoder, setupParser
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SLDConfiguration

public SLDConfiguration()
Adds a dependency on OGCConfiguration

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 class Configuration
Parameters:
container - Container containing all bindings, keyed by QName.

configureContext

protected void configureContext(MutablePicoContainer container)
Configures the sld context.

The following factories are registered:

Overrides:
configureContext in class Configuration
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 class Configuration


Copyright © 1996-2014 Geotools. All Rights Reserved.