Class FolderWriter

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

public class FolderWriter extends Object
This class writes a Folder kml tag. Example:

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

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

    • FolderWriter

      public FolderWriter()
  • Method Details

    • start

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

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