Class SimpleResultTreeImpl.SingletonIterator

    • Constructor Detail

      • SingletonIterator

        public SingletonIterator()
      • SingletonIterator

        public SingletonIterator​(int type)
    • Method Detail

      • setMark

        public void setMark()
        Description copied from interface: DTMAxisIterator
        Remembers the current node for the next call to gotoMark().
      • gotoMark

        public void gotoMark()
        Description copied from interface: DTMAxisIterator
        Restores the current node remembered by setMark().
      • setStartNode

        public DTMAxisIterator setStartNode​(int nodeHandle)
        Description copied from interface: DTMAxisIterator
        Set start to END should 'close' the iterator, i.e. subsequent call to next() should return END.
        Parameters:
        nodeHandle - Sets the root of the iteration.
        Returns:
        A DTMAxisIterator set to the start of the iteration.
      • next

        public int next()
        Description copied from interface: DTMAxisIterator
        Get the next node in the iteration.
        Returns:
        The next node handle in the iteration, or END.