Class LinearRingWriter

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

public class LinearRingWriter extends Object
It writes the linearRing KML tag. Example:

 
 <LinearRing>
 <coordinates>0.0,0.0 100.0,0.0 50.0,100.0 0.0,0.0</coordinates>
 </LinearRing>
 
 

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

    • LinearRingWriter

      public LinearRingWriter()
  • Method Details

    • start

      public void start(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler, ICoordinateSequence coords) throws IOException
      It writes the linearRinzg kml init tag
      Parameters:
      writer - Writer to write the labels
      handler - The writer handler implementor
      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 linearRing kml end tag
      Parameters:
      writer - Writer to write the labels
      handler - The writer handler implementor
      Throws:
      IOException