org.geotools.styling
Class SLDTransformer
Object
TransformerBase
SLDTransformer
public class SLDTransformer
- extends TransformerBase
Produces SLD to an output stream.
- Author:
- Ian Schneider
Constructor Summary |
SLDTransformer()
Construct a new instance of SLDTransformer with the
default namespace mappings usually found in a simple Styled Layer
Descriptor element. |
SLDTransformer(Map nsBindings)
Construct a new instance of SLDTransformer with the
additional namespace mappings contained in nsBindings . |
Methods inherited from class TransformerBase |
createTransformer, createTransformTask, createXMLReader, getEncoding, getIndentation, isNamespaceDeclartionEnabled, isOmitXMLDeclaration, setEncoding, setIndentation, setNamespaceDeclarationEnabled, setOmitXMLDeclaration, transform, transform, transform, transform |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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.
- Parameters:
args
- DOCUMENT ME!
- Throws:
Exception
- DOCUMENT ME!
Copyright © 1996-2014 Geotools. All Rights Reserved.