Class InnerBoundaryIsBinding

java.lang.Object
org.gvsig.gpe.prov.kml.parser.v21.geometries.InnerBoundaryIsBinding

public class InnerBoundaryIsBinding extends Object
It parses the innerBoundaryIs tag. Example:

 
 <innerBoundaryIs>
 <LinearRing>
 <coordinates>10.0,10.0 10.0,40.0 40.0,40.0 40.0,10.0 10.0,10.0</coordinates>
 </LinearRing>
 </innerBoundaryIs>
 
 

Author:
Jorge Piera LLodrĂ¡ (jorge.piera@iver.es)
  • Constructor Details

    • InnerBoundaryIsBinding

      public InnerBoundaryIsBinding()
  • Method Details

    • parse

      public ICoordinateIterator parse(org.gvsig.xmlpull.lib.api.stream.IXmlStreamReader parser, GPEDeafultKmlParser handler) throws org.gvsig.xmlpull.lib.api.stream.XmlStreamException, IOException
      It parses the innerBoundary tag
      Parameters:
      parser - The XML parser
      handler - The GPE parser that contains the content handler and the error handler
      Returns:
      It retuns a matrix of doubles with 3 columns (x,y,z) and one row for each coordinate.
      Throws:
      IOException
      org.gvsig.xmlpull.lib.api.stream.XmlStreamException
      org.gvsig.xmlpull.lib.api.stream.XmlStreamException
      IOException