Class BasicTestIterator

    • Method Detail

      • nextNode

        public int nextNode()
        Returns the next node in the set and advances the position of the iterator in the set. After a NodeIterator is created, the first call to nextNode() returns the first node in the set.
        Specified by:
        nextNode in interface DTMIterator
        Specified by:
        nextNode in class LocPathIterator
        Returns:
        The next Node in the set being iterated over, or null if there are no more members in that set.
      • cloneWithReset

        public DTMIterator cloneWithReset()
                                   throws java.lang.CloneNotSupportedException
        Get a cloned Iterator that is reset to the beginning of the query.
        Specified by:
        cloneWithReset in interface DTMIterator
        Overrides:
        cloneWithReset in class LocPathIterator
        Returns:
        A cloned NodeIterator set of the start of the query.
        Throws:
        java.lang.CloneNotSupportedException