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