Class PlaceMarkWriter
java.lang.Object
org.gvsig.gpe.prov.kml.writer.v2.features.PlaceMarkWriter
This class writes a PlaceMark kml tag. Example:
<Placemark>
<name>CDATA example</name>
<description>Description example</description>
<Point>
<oordinates>102.595626,14.996729</coordinates>
</Point>
</Placemark>
- Author:
- Jorge Piera LLodrĂ¡ (jorge.piera@iver.es)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidend(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler) It writes the end PlaceMark tagvoidstart(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler, String id, String name) Writes a PlaceMark init tag and its attributes
-
Constructor Details
-
PlaceMarkWriter
public PlaceMarkWriter()
-
-
Method Details
-
start
public void start(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler, String id, String name) throws IOException Writes a PlaceMark init tag and its attributes- Parameters:
writer- Writer to write the labelshandler- The writer handler implementorid- PlaceMark idname- PlaceMark name- Throws:
IOException
-
end
public void end(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler) throws IOException It writes the end PlaceMark tag- Parameters:
writer- Writer to write the labelshandler- The writer handler implementor- Throws:
IOException
-