Class GeometriesWriter

java.lang.Object
org.gvsig.gpe.prov.kml.writer.v2.geometries.GeometriesWriter

public class GeometriesWriter extends Object
A Geometry element is an abstract element and cannot be used directly in a KML file. It provides a placeholder object for all derived Geometry objects.
This class has methods to write the common parts.
Author:
Jorge Piera LLodrĂ¡ (jorge.piera@iver.es)
  • Constructor Details

    • GeometriesWriter

      public GeometriesWriter()
  • Method Details

    • startGeometry

      public void startGeometry(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler, org.gvsig.xmlpull.lib.api.stream.IQName tagName, String id) throws IOException
      It writes the geometry init tag and its attributes
      Parameters:
      writer - Writer to write the labels
      handler - The writer handler implementor Geometry tag name
      id - Geometry id
      Throws:
      IOException
    • endGeometry

      public void endGeometry(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor hanlder, org.gvsig.xmlpull.lib.api.stream.IQName tagName) throws IOException
      It writes the geometry end tag
      Parameters:
      writer - Writer to write the labels
      tagName - Geometry tag name
      handler - The writer handler implementor
      Throws:
      IOException