Class SLDTransformer


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

      • 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 Detail

      • isExportDefaultValues

        public boolean isExportDefaultValues()
        Returns:
        the exportDefaultValues
      • setExportDefaultValues

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

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