Package org.geotools.gml2.simple
Class GenericGeometryEncoder
Helper class that encodes the geometries within GeometryCollection
- Author:
-
Constructor Summary
ConstructorsConstructorDescriptionGenericGeometryEncoder(Encoder encoder) GenericGeometryEncoder(Encoder encoder, String gmlPrefix) -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(Geometry geometry, AttributesImpl atts, GMLWriter handler) Encodes a geometry valueMethods inherited from class GeometryEncoder
addGmlId, cloneWithGmlId, encode
-
Constructor Details
-
GenericGeometryEncoder
-
GenericGeometryEncoder
-
-
Method Details
-
encode
Description copied from class:GeometryEncoderEncodes a geometry value- Overrides:
encodein classGeometryEncoder<Geometry>- Parameters:
geometry- The Geometry to be encodedatts- Its attributeshandler- The handler used to write XML- Throws:
Exception
-