Class LineStringWriter
java.lang.Object
org.gvsig.gpe.prov.kml.writer.v2.geometries.LineStringWriter
It writes the LineQName tag. Example:
<LineString>
<coord><X>56.1</X><Y>0.45</Y></coord>
<coord><X>67.23</X><Y>0.98</Y></coord>
</LineString>
- Author:
- Jorge Piera LlodrĂ¡ (piera_jor@gva.es)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidend(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler) It writes the lineString kml end tagvoidstart(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler, String id, ICoordinateSequence coords) It writes the lineString kml init tag
-
Constructor Details
-
LineStringWriter
public LineStringWriter()
-
-
Method Details
-
start
public void start(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler, String id, ICoordinateSequence coords) throws IOException It writes the lineString kml init tag- Parameters:
writer- Writer to write the labelshandler- The writer handler implementorid- LineString idcoords- A coordinates iterator.- Throws:
IOException
-
end
public void end(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler) throws IOException It writes the lineString kml end tag- Parameters:
writer- Writer to write the labelshandler- The writer handler implementor- Throws:
IOException
-