Class NodeIterable

  • All Implemented Interfaces:
    Iterable<javax.jcr.Node>

    public class NodeIterable
    extends Object
    implements Iterable<javax.jcr.Node>
    Author:
    ehugonnet
    • Constructor Detail

      • NodeIterable

        public NodeIterable​(javax.jcr.NodeIterator iterator)
        Creates an iterable adapter for the given node iterator.
        Parameters:
        iterator - the node iterator to be adapted
    • Method Detail

      • iterator

        public Iterator<javax.jcr.Node> iterator()
        Returns the node iterator.
        Specified by:
        iterator in interface Iterable<javax.jcr.Node>
        Returns:
        node iterator