Class FeatureWriter

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

public class FeatureWriter extends Object
This is an abstract element and cannot be used directly in a KML file. Document, Folder, NetworkLink, Placemark, GroundOverLay and ScreenOverlay inherit from it. It writes the common attributes
Author:
Jorge Piera LLodrĂ¡ (jorge.piera@iver.es)
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    end(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor hanlder, org.gvsig.xmlpull.lib.api.stream.IQName tagName)
    It writes the end tag of a Document, Folder, NetworkLink, Placemark, GroundOverLay or a ScreenOverlay.
    void
    start(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler, String id, org.gvsig.xmlpull.lib.api.stream.IQName tagName)
    It writes the init tag and the common attributes for a Document, Folder, NetworkLink, Placemark, GroundOverLay or a ScreenOverlay.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FeatureWriter

      public FeatureWriter()
  • Method Details

    • start

      public void start(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler, String id, org.gvsig.xmlpull.lib.api.stream.IQName tagName) throws IOException
      It writes the init tag and the common attributes for a Document, Folder, NetworkLink, Placemark, GroundOverLay or a ScreenOverlay.
      Parameters:
      writer - Writer to write the labels
      handler - The writer handler implementor
      id - Feature ID
      tagName - Feature type
      Throws:
      IOException
    • end

      public void end(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor hanlder, org.gvsig.xmlpull.lib.api.stream.IQName tagName) throws IOException
      It writes the end tag of a Document, Folder, NetworkLink, Placemark, GroundOverLay or a ScreenOverlay.
      Parameters:
      writer - Writer to write the labels
      tagName - Feature type
      handler - The writer handler implementor
      Throws:
      IOException