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 SummaryConstructors Constructor Description GenericGeometryEncoder(Encoder encoder)GenericGeometryEncoder(Encoder encoder, String gmlPrefix)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencode(Geometry geometry, AttributesImpl atts, GMLWriter handler)Encodes a geometry value- 
Methods inherited from class GeometryEncoderaddGmlId, cloneWithGmlId, encode
 
- 
 
- 
- 
- 
Method Detail- 
encodepublic void encode(Geometry geometry, AttributesImpl atts, GMLWriter handler) throws Exception Description copied from class:GeometryEncoderEncodes a geometry value- Overrides:
- encodein class- GeometryEncoder<Geometry>
- Parameters:
- geometry- The Geometry to be encoded
- atts- Its attributes
- handler- The handler used to write XML
- Throws:
- Exception
 
 
- 
 
-