Class GeometryCollectionEncoder


  • public class GeometryCollectionEncoder
    extends GeometryEncoder<GeometryCollection>
    Encodes a GML2 generic geometry collection
    Author:
    • Constructor Detail

      • GeometryCollectionEncoder

        public GeometryCollectionEncoder​(Encoder encoder,
                                         String gmlPrefix)
    • 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 class GeometryEncoder<GeometryCollection>
        Parameters:
        geometry - The Geometry to be encoded
        atts - Its attributes
        handler - The handler used to write XML
        Throws:
        Exception