Class PointWriter

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

public class PointWriter extends Object
It writes a Point tag. Example:

 
 <Point gid="P6776">
 <coord><X>50.0</X><Y>50.0</Y></coord>
 </Point>
 
 

Author:
Jorge Piera LLodrĂ¡ (jorge.piera@iver.es)
  • Constructor Details

    • PointWriter

      public PointWriter()
  • Method Details

    • start

      public void start(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler, String id, ICoordinateSequence coords) throws IOException
      It writes the Point init tag and its value.
      Parameters:
      writer - Writer to write the labels
      handler - The writer handler implementor
      id - Point id
      coords - A coordinates iterator.
      Throws:
      IOException
    • end

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