org.geotools.gml.producer
Class GeometryTransformer.GeometryTranslator
java.lang.Object
org.geotools.xml.transform.TransformerBase.TranslatorSupport
org.geotools.gml.producer.GeometryTransformer.GeometryTranslator
- All Implemented Interfaces:
- Translator
- Enclosing class:
- GeometryTransformer
- public static class GeometryTransformer.GeometryTranslator
- extends TransformerBase.TranslatorSupport
Method Summary |
void |
encode(com.vividsolutions.jts.geom.Envelope bounds)
|
void |
encode(com.vividsolutions.jts.geom.Envelope bounds,
java.lang.String srsName)
|
void |
encode(com.vividsolutions.jts.geom.Geometry geometry)
|
void |
encode(com.vividsolutions.jts.geom.Geometry geometry,
java.lang.String srsName)
|
void |
encode(java.lang.Object o)
Encode the object. |
void |
encode(java.lang.Object o,
java.lang.String srsName)
|
int |
getNumDecimals()
|
boolean |
isDummyZEnabled()
|
Methods inherited from class org.geotools.xml.transform.TransformerBase.TranslatorSupport |
abort, addNamespaceDeclarations, chars, element, element, end, getDefaultNamespace, getDefaultPrefix, getNamespaceSupport, getSchemaLocationSupport, start, start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeometryTransformer.GeometryTranslator
public GeometryTransformer.GeometryTranslator(org.xml.sax.ContentHandler handler)
GeometryTransformer.GeometryTranslator
public GeometryTransformer.GeometryTranslator(org.xml.sax.ContentHandler handler,
int numDecimals)
GeometryTransformer.GeometryTranslator
public GeometryTransformer.GeometryTranslator(org.xml.sax.ContentHandler handler,
int numDecimals,
boolean isDummyZEnabled)
isDummyZEnabled
public boolean isDummyZEnabled()
getNumDecimals
public int getNumDecimals()
encode
public void encode(java.lang.Object o,
java.lang.String srsName)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
encode
public void encode(java.lang.Object o)
throws java.lang.IllegalArgumentException
- Description copied from interface:
Translator
- Encode the object.
- Parameters:
o
- The Object to encode.
- Throws:
java.lang.IllegalArgumentException
- if the Object is not encodeable.
encode
public void encode(com.vividsolutions.jts.geom.Envelope bounds)
encode
public void encode(com.vividsolutions.jts.geom.Envelope bounds,
java.lang.String srsName)
encode
public void encode(com.vividsolutions.jts.geom.Geometry geometry)
encode
public void encode(com.vividsolutions.jts.geom.Geometry geometry,
java.lang.String srsName)
Copyright © GeoTools. All Rights Reserved.