Class SLDConfiguration


  • public class SLDConfiguration
    extends Configuration
    Parser configuration for the Styled Layer Descriptor schema.
    Author:
    Justin Deoliveira, The Open Planning Project
    • 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