Package org.geotools.gml2.simple
Class GenericGeometryEncoder
- Object
-
- ObjectEncoder<T>
-
- GeometryEncoder<Geometry>
-
- GenericGeometryEncoder
-
public class GenericGeometryEncoder extends GeometryEncoder<Geometry>
Helper class that encodes the geometries within GeometryCollection- Author:
-
-
Constructor Summary
Constructors Constructor Description GenericGeometryEncoder(Encoder encoder)
GenericGeometryEncoder(Encoder encoder, String gmlPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encode(Geometry geometry, AttributesImpl atts, GMLWriter handler)
Encodes a geometry value-
Methods inherited from class GeometryEncoder
addGmlId, cloneWithGmlId, encode
-
-
-
-
Method Detail
-
encode
public void encode(Geometry geometry, AttributesImpl atts, GMLWriter handler) throws Exception
Description copied from class:GeometryEncoder
Encodes a geometry value- Overrides:
encode
in classGeometryEncoder<Geometry>
- Parameters:
geometry
- The Geometry to be encodedatts
- Its attributeshandler
- The handler used to write XML- Throws:
Exception
-
-