public class LineStringWriter extends Object
<LineString>
<coord><X>56.1</X><Y>0.45</Y></coord>
<coord><X>67.23</X><Y>0.98</Y></coord>
</LineString>
http://code.google.com/apis/kml/documentation/kml_tags_21.html#linestring
Constructor and Description |
---|
LineStringWriter() |
Modifier and Type | Method and Description |
---|---|
void |
end(IXmlStreamWriter writer,
GPEKmlWriterHandlerImplementor handler)
It writes the lineString kml end tag
|
void |
start(IXmlStreamWriter writer,
GPEKmlWriterHandlerImplementor handler,
String id,
ICoordinateSequence coords)
It writes the lineString kml init tag
|
public void start(IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler, String id, ICoordinateSequence coords) throws IOException
writer
- Writer to write the labelshandler
- The writer handler implementorid
- LineString idcoords
- A coordinates iterator.IOException
public void end(IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler) throws IOException
writer
- Writer to write the labelshandler
- The writer handler implementorIOException