com.partnersoft.formats.kml
Class KmlGeometry

java.lang.Object
  extended by com.partnersoft.formats.kml.KmlGeometry
All Implemented Interfaces:
KmlObject
Direct Known Subclasses:
KmlPoint

public abstract class KmlGeometry
extends java.lang.Object
implements KmlObject

Base class for any Geometry Kml objects. Such as points, polylines, polygons, etc. Class is mainly a placeholder, as each geometry is also a KmlObject.

CopyRight 2008 Parter Software

Version:
$$Id$$
Author:
Rich Stepanski

Constructor Summary
KmlGeometry()
           
 
Method Summary
abstract  void write(XmlBuilder writer)
          Object writes itself to the passed writer in the correct format for the object based on it's fields.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KmlGeometry

public KmlGeometry()
Method Detail

write

public abstract void write(XmlBuilder writer)
                    throws java.io.IOException
Description copied from interface: KmlObject
Object writes itself to the passed writer in the correct format for the object based on it's fields.

Specified by:
write in interface KmlObject
Parameters:
writer - - Writer to write kml to.
Throws:
java.io.IOException - - Thrown if an error occurs while writing.