public class PolygonWriter extends GeometryWriter
<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>
| Constructor and Description |
|---|
PolygonWriter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGeometryName() |
void |
start(IXmlStreamWriter writer,
GPEGmlWriterHandlerImplementor handler,
java.lang.String id,
ICoordinateSequence coords,
java.lang.String srs)
It writes a gml:Polygon init tag
|
end, startpublic void start(IXmlStreamWriter writer,
GPEGmlWriterHandlerImplementor handler,
java.lang.String id,
ICoordinateSequence coords,
java.lang.String srs)
throws java.io.IOException
writer - Writer to write the labelshandler - The writer handler implementorid - Geometry IDcoords - A coordinates sequencesrs - Spatial reference systemjava.io.IOExceptionpublic java.lang.String getGeometryName()
getGeometryName in class GeometryWriter