public class GeometryTransformer extends TransformerBase
Please note that this GeometryTransformer issues GML2 events, the Coordinate
Modifier and Type | Class and Description |
---|---|
static class |
GeometryTransformer.GeometryTranslator |
TransformerBase.SchemaLocationSupport, TransformerBase.Task, TransformerBase.TranslatorSupport, TransformerBase.XMLReaderSupport
Modifier and Type | Field and Description |
---|---|
protected boolean |
forceDecimalEncoding |
protected int |
numDecimals |
protected boolean |
padWithZeros |
protected boolean |
useDummyZ |
XMLNS_NAMESPACE
Constructor and Description |
---|
GeometryTransformer() |
Modifier and Type | Method and Description |
---|---|
Translator |
createTranslator(ContentHandler handler)
Create a Translator to issue SAXEvents to a ContentHandler.
|
void |
setForceDecimalEncoding(boolean forceDecimalEncoding) |
void |
setNumDecimals(int num) |
void |
setPadWithZeros(boolean padWithZeros) |
void |
setUseDummyZ(boolean flag) |
createTransformer, createTransformTask, createXMLReader, getEncoding, getIndentation, isNamespaceDeclartionEnabled, isOmitXMLDeclaration, setEncoding, setIndentation, setNamespaceDeclarationEnabled, setOmitXMLDeclaration, transform, transform, transform, transform
protected boolean useDummyZ
protected int numDecimals
protected boolean padWithZeros
protected boolean forceDecimalEncoding
public void setUseDummyZ(boolean flag)
public void setNumDecimals(int num)
public void setPadWithZeros(boolean padWithZeros)
public void setForceDecimalEncoding(boolean forceDecimalEncoding)
public Translator createTranslator(ContentHandler handler)
TransformerBase
createTranslator
in class TransformerBase
Copyright © 1996–2019 Geotools. All rights reserved.