Class DocumentWriter

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

public class DocumentWriter extends Object
This class writes a Document kml tag. Example:

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

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

    • DocumentWriter

      public DocumentWriter()
  • 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 Document init tag and its attributes
      Parameters:
      writer - Writer to write the labels
      handler - The writer handler implementor
      id - Document id
      name - Document name
      description - Document description
      Throws:
      IOException
    • end

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