Class LineStringTypeBinding

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

public class LineStringTypeBinding extends Object
It parses the LineQName tag. Example:

 
 <LineString>
 <coord><X>56.1</X><Y>0.45</Y></coord>
 <coord><X>67.23</X><Y>0.98</Y></coord>
 </LineString>
 
 

Author:
Jorge Piera LlodrĂ¡ (piera_jor@gva.es)
  • Constructor Details

    • LineStringTypeBinding

      public LineStringTypeBinding()
  • Method Details

    • parse

      public Object parse(org.gvsig.xmlpull.lib.api.stream.IXmlStreamReader parser, GPEDeafultKmlParser handler) throws org.gvsig.xmlpull.lib.api.stream.XmlStreamException, IOException
      It parses the LineQName tag
      Parameters:
      parser - The XML parser
      handler - The GPE parser that contains the content handler and the error handler
      Returns:
      A line string
      Throws:
      IOException
      org.gvsig.xmlpull.lib.api.stream.XmlStreamException
      org.gvsig.xmlpull.lib.api.stream.XmlStreamException
      IOException