Class GeometriesWriter
java.lang.Object
org.gvsig.gpe.prov.kml.writer.v2.geometries.GeometriesWriter
A Geometry element is an abstract element and cannot be used
directly in a KML file. It provides a placeholder object for
all derived Geometry objects.
This class has methods to write the common parts.
This class has methods to write the common parts.
- Author:
- Jorge Piera LLodrĂ¡ (jorge.piera@iver.es)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidendGeometry(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor hanlder, org.gvsig.xmlpull.lib.api.stream.IQName tagName) It writes the geometry end tagvoidstartGeometry(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler, org.gvsig.xmlpull.lib.api.stream.IQName tagName, String id) It writes the geometry init tag and its attributes
-
Constructor Details
-
GeometriesWriter
public GeometriesWriter()
-
-
Method Details
-
startGeometry
public void startGeometry(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler, org.gvsig.xmlpull.lib.api.stream.IQName tagName, String id) throws IOException It writes the geometry init tag and its attributes- Parameters:
writer- Writer to write the labelshandler- The writer handler implementor Geometry tag nameid- Geometry id- Throws:
IOException
-
endGeometry
public void endGeometry(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor hanlder, org.gvsig.xmlpull.lib.api.stream.IQName tagName) throws IOException It writes the geometry end tag- Parameters:
writer- Writer to write the labelstagName- Geometry tag namehandler- The writer handler implementor- Throws:
IOException
-