Class LineStringWriter

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

public class LineStringWriter extends Object
It writes the LineQName tag. Example:

 
 <LineString>
 <coord><X>56.1</X><Y>0.45</Y></coord>
 <coord><X>67.23</X><Y>0.98</Y></coord>
 </LineString>
 
 

Author:
Jorge Piera LlodrĂ¡ (piera_jor@gva.es)
  • Constructor Details

    • LineStringWriter

      public LineStringWriter()
  • 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 lineString kml init tag
      Parameters:
      writer - Writer to write the labels
      handler - The writer handler implementor
      id - LineString 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 lineString kml end tag
      Parameters:
      writer - Writer to write the labels
      handler - The writer handler implementor
      Throws:
      IOException