public class BoxWriter extends GeometryWriter
<gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:coord><gml:X>0</gml:X><gml:Y>0</gml:Y></gml:coord>
<gml:coord><gml:X>50</gml:X><gml:Y>50</gml:Y></gml:coord>
</gml:Box>
| Constructor and Description |
|---|
BoxWriter() |
| 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:Box 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