Class PolygonPropertyTypeBinding

java.lang.Object
org.gvsig.gpe.prov.gml.parser.v2.geometries.PolygonPropertyTypeBinding

public class PolygonPropertyTypeBinding extends Object
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 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 parser
      handler - The GPE parser that contains the content handler and the error handler
      Returns:
      A polygon
      Throws:
      org.gvsig.xmlpull.lib.api.stream.XmlStreamException
      IOException