Class SLDTransformer

Object
TransformerBase
SLDTransformer

public class SLDTransformer extends TransformerBase
Produces SLD to an output stream.
Author:
Ian Schneider
  • Constructor Details

    • SLDTransformer

      public SLDTransformer()
      Construct a new instance of SLDTransformer with the default namespace mappings usually found in a simple Styled Layer Descriptor element.
    • SLDTransformer

      public SLDTransformer(Map nsBindings)
      Construct a new instance of SLDTransformer with the additional namespace mappings contained in nsBindings.

      The designated collection contains mappings of URI to associated prefix (string) to emit in the generated XML element.

  • Method Details

    • isExportDefaultValues

      public boolean isExportDefaultValues()
      Returns:
      the exportDefaultValues
    • setExportDefaultValues

      public void setExportDefaultValues(boolean exportDefaultValues)
      Parameters:
      exportDefaultValues - the exportDefaultValues to set
    • createTranslator

      public Translator createTranslator(ContentHandler handler)
      Description copied from class: TransformerBase
      Create a Translator to issue SAXEvents to a ContentHandler.
      Specified by:
      createTranslator in class TransformerBase
    • main

      public static final void main(String[] args) throws Exception
      Currently does nothing.
      Throws:
      Exception