public class MultiGeometryWriter
extends java.lang.Object
<MultiGeometry>
<Point gid="P6776">
<coord><X>50.0</X><Y>50.0</Y></coord>
</Point>
<Polygon gid="_877789">
<outerBoundaryIs>
<LinearRing>
<coordinates>0.0,0.0 100.0,0.0 50.0,100.0 0.0,0.0</coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon>
<MultiGeometry>
http://code.google.com/apis/kml/documentation/kml_tags_21.html#multigeometry| Constructor and Description |
|---|
MultiGeometryWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
end(IXmlStreamWriter writer,
GPEKmlWriterHandlerImplementor handler)
It writes the MultiGeometry end tag
|
void |
start(IXmlStreamWriter writer,
GPEKmlWriterHandlerImplementor handler,
java.lang.String id)
It writes the MultiGeometry init tag and its value.
|
public void start(IXmlStreamWriter writer,
GPEKmlWriterHandlerImplementor handler,
java.lang.String id)
throws java.io.IOException
writer - Writer to write the labelshandler - The writer handler implementorid - Point idlongitude - Longitude >= -180 and <= 180latitude - Latitude >= -90 and <= 90altitude - Meters above sea leveljava.io.IOExceptionpublic void end(IXmlStreamWriter writer,
GPEKmlWriterHandlerImplementor handler)
throws java.io.IOException
writer - Writer to write the labelshandler - The writer handler implementorjava.io.IOException