Package javax.jcr

Interface NodeIterator

  • All Superinterfaces:
    Iterator, RangeIterator

    public interface NodeIterator
    extends RangeIterator
    Allows easy iteration through a list of Nodes with nextNode as well as a skip method inherited from RangeIterator.
    • Method Detail

      • nextNode

        Node nextNode()
        Returns the next Node in the iteration.
        Returns:
        the next Node in the iteration.
        Throws:
        NoSuchElementException - if iteration has no more Nodes.