Class PlaceMarkWriter

java.lang.Object
org.gvsig.gpe.prov.kml.writer.v2.features.PlaceMarkWriter

public class PlaceMarkWriter extends Object
This class writes a PlaceMark kml tag. Example:

 
 <Placemark>
 <name>CDATA example</name>
 <description>Description example</description>
 <Point>
 <oordinates>102.595626,14.996729</coordinates>
 </Point>
 </Placemark>
 
 

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

    • PlaceMarkWriter

      public PlaceMarkWriter()
  • Method Details

    • start

      public void start(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler, String id, String name) throws IOException
      Writes a PlaceMark init tag and its attributes
      Parameters:
      writer - Writer to write the labels
      handler - The writer handler implementor
      id - PlaceMark id
      name - PlaceMark name
      Throws:
      IOException
    • end

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