Package org.geotools.gml.producer
Class GeometryTransformer
- Object
-
- TransformerBase
-
- GeometryTransformer
-
public class GeometryTransformer extends TransformerBase
Used to walk through GeometryObjects issuing SAX events as needed.Please note that this GeometryTransformer issues GML2 events, the Coordinate
- Author:
- Ian Schneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GeometryTransformer.GeometryTranslator
-
Nested classes/interfaces inherited from class TransformerBase
TransformerBase.SchemaLocationSupport, TransformerBase.Task, TransformerBase.TranslatorSupport, TransformerBase.XMLReaderSupport
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
forceDecimalEncoding
protected int
numDecimals
protected boolean
padWithZeros
protected boolean
useDummyZ
-
Fields inherited from class TransformerBase
XMLNS_NAMESPACE
-
-
Constructor Summary
Constructors Constructor Description GeometryTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class TransformerBase
createTransformer, createTransformTask, createXMLReader, getEncoding, getIndentation, isNamespaceDeclartionEnabled, isOmitXMLDeclaration, setEncoding, setIndentation, setNamespaceDeclarationEnabled, setOmitXMLDeclaration, transform, transform, transform, transform
-
-
-
-
Method Detail
-
setUseDummyZ
public void setUseDummyZ(boolean flag)
-
setNumDecimals
public void setNumDecimals(int num)
-
setPadWithZeros
public void setPadWithZeros(boolean padWithZeros)
-
setForceDecimalEncoding
public void setForceDecimalEncoding(boolean forceDecimalEncoding)
-
createTranslator
public Translator createTranslator(ContentHandler handler)
Description copied from class:TransformerBase
Create a Translator to issue SAXEvents to a ContentHandler.- Specified by:
createTranslator
in classTransformerBase
- TODO:
- remove constant from GometryTraslator contructor call
-
-