Class PolygonPropertyTypeBinding
java.lang.Object
org.gvsig.gpe.prov.gml.parser.v2.geometries.PolygonPropertyTypeBinding
It parses a gml:polygonProperty object. Example:
<polygonProperty>
<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>
</polygonProperty>
- Author:
- Jorge Piera LLodrĂ¡ (jorge.piera@iver.es)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse(org.gvsig.xmlpull.lib.api.stream.IXmlStreamReader parser, GPEDefaultGmlParser handler) It parses the gml:PolygonProperty tag
-
Constructor Details
-
PolygonPropertyTypeBinding
public PolygonPropertyTypeBinding()
-
-
Method Details
-
parse
public Object parse(org.gvsig.xmlpull.lib.api.stream.IXmlStreamReader parser, GPEDefaultGmlParser handler) throws org.gvsig.xmlpull.lib.api.stream.XmlStreamException, IOException It parses the gml:PolygonProperty tag- Parameters:
parser- The XML parserhandler- The GPE parser that contains the content handler and the error handler- Returns:
- A polygon
- Throws:
org.gvsig.xmlpull.lib.api.stream.XmlStreamExceptionIOException
-