public class SLDTransformer extends TransformerBase
TransformerBase.SchemaLocationSupport, TransformerBase.Task, TransformerBase.TranslatorSupport, TransformerBase.XMLReaderSupport
XMLNS_NAMESPACE
Constructor and Description |
---|
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 . |
Modifier and Type | Method and Description |
---|---|
Translator |
createTranslator(ContentHandler handler)
Create a Translator to issue SAXEvents to a ContentHandler.
|
boolean |
isExportDefaultValues() |
static void |
main(String[] args)
Currently does nothing.
|
void |
setExportDefaultValues(boolean exportDefaultValues) |
createTransformer, createTransformTask, createXMLReader, getEncoding, getIndentation, isNamespaceDeclartionEnabled, isOmitXMLDeclaration, setEncoding, setIndentation, setNamespaceDeclarationEnabled, setOmitXMLDeclaration, transform, transform, transform, transform
public SLDTransformer()
SLDTransformer
with the default namespace mappings
usually found in a simple Styled Layer Descriptor element.public boolean isExportDefaultValues()
public void setExportDefaultValues(boolean exportDefaultValues)
exportDefaultValues
- the exportDefaultValues to setpublic Translator createTranslator(ContentHandler handler)
TransformerBase
createTranslator
in class TransformerBase
Copyright © 1996–2019 Geotools. All rights reserved.