Class PolygonWriter
java.lang.Object
org.gvsig.gpe.prov.gml.writer.v2.geometries.GeometryWriter
org.gvsig.gpe.prov.gml.writer.v2.geometries.PolygonWriter
- Direct Known Subclasses:
PolygonWriter
It writes a gml:PolygonType object. Example:
<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>
- Author:
- Jorge Piera LLodrĂ¡ (jorge.piera@iver.es)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstart(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEGmlWriterHandlerImplementor handler, String id, ICoordinateSequence coords, String srs) It writes a gml:Polygon init tagMethods inherited from class org.gvsig.gpe.prov.gml.writer.v2.geometries.GeometryWriter
end, start
-
Constructor Details
-
PolygonWriter
public PolygonWriter()
-
-
Method Details
-
start
public void start(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEGmlWriterHandlerImplementor handler, String id, ICoordinateSequence coords, String srs) throws IOException It writes a gml:Polygon init tag- Parameters:
writer- Writer to write the labelshandler- The writer handler implementorid- Geometry IDcoords- A coordinates sequencesrs- Spatial reference system- Throws:
IOException
-
getGeometryName
- Specified by:
getGeometryNamein classGeometryWriter- Returns:
- the geometry name
-