Class GmlCoodinatesIterator

java.lang.Object
org.gvsig.gpe.prov.gml.parser.v2.coordiates.GmlCoodinatesIterator
All Implemented Interfaces:
ICoordinateIterator, IGmlCoordinatesIterator
Direct Known Subclasses:
CoordinatesTypeIterator, CoordTypeIterator, PosListTypeIterator, PosTypeIterator

public abstract class GmlCoodinatesIterator extends Object implements IGmlCoordinatesIterator
Author:
Jorge Piera LlodrĂ¡ (jorge.piera@iver.es)
  • Field Details

    • parser

      protected org.gvsig.xmlpull.lib.api.stream.IXmlStreamReader parser
    • handler

      protected GPEDefaultGmlParser handler
    • lastTag

      protected org.gvsig.xmlpull.lib.api.stream.IQName lastTag
    • dimension

      protected int dimension
    • coordinatesString

      protected StringTokenizer coordinatesString
    • TUPLES_SEPARATOR

      protected String TUPLES_SEPARATOR
    • COORDINATES_SEPARATOR

      protected String COORDINATES_SEPARATOR
    • COORDINATES_DECIMAL

      protected String COORDINATES_DECIMAL
  • Constructor Details

    • GmlCoodinatesIterator

      public GmlCoodinatesIterator()
  • Method Details

    • initialize

      public void initialize(org.gvsig.xmlpull.lib.api.stream.IXmlStreamReader parser, GPEDefaultGmlParser handler, org.gvsig.xmlpull.lib.api.stream.IQName lastTag) throws org.gvsig.xmlpull.lib.api.stream.XmlStreamException, IOException
      Description copied from interface: IGmlCoordinatesIterator
      It initializes a coordinates iterator and put the parsing pointer in the specified tag
      Specified by:
      initialize in interface IGmlCoordinatesIterator
      Parameters:
      parser - The XML parser
      handler - The GPE parser that contains the content handler and the error handler
      lastTag - The last tag
      Throws:
      org.gvsig.xmlpull.lib.api.stream.XmlStreamException
      IOException
    • parseAll

      public void parseAll() throws org.gvsig.xmlpull.lib.api.stream.XmlStreamException
      Description copied from interface: IGmlCoordinatesIterator
      This method advances the stream reader until the last tag of the coordinates iterator.
      Specified by:
      parseAll in interface IGmlCoordinatesIterator
      Throws:
      org.gvsig.xmlpull.lib.api.stream.XmlStreamException
    • getDimension

      public int getDimension()
      Specified by:
      getDimension in interface ICoordinateIterator