info.magnolia.jcr.iterator
Class NodeIterableAdapter

java.lang.Object
  extended by info.magnolia.jcr.iterator.NodeIterableAdapter
All Implemented Interfaces:
Iterable<javax.jcr.Node>

public class NodeIterableAdapter
extends Object
implements Iterable<javax.jcr.Node>

Adapter for NodeIterator that always returns the same iterator.


Constructor Summary
NodeIterableAdapter(javax.jcr.NodeIterator iterator)
           
 
Method Summary
 Iterator<javax.jcr.Node> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeIterableAdapter

public NodeIterableAdapter(javax.jcr.NodeIterator iterator)
Method Detail

iterator

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


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.