org.priha.util
Class LazyNodeIteratorImpl

java.lang.Object
  extended by org.priha.util.GenericIterator
      extended by org.priha.util.LazyNodeIteratorImpl
All Implemented Interfaces:
java.util.Iterator, javax.jcr.NodeIterator, javax.jcr.RangeIterator

public class LazyNodeIteratorImpl
extends GenericIterator
implements javax.jcr.NodeIterator


Field Summary
 
Fields inherited from class org.priha.util.GenericIterator
m_iterator, m_list, m_position, m_size
 
Constructor Summary
LazyNodeIteratorImpl(SessionImpl session, java.util.List<Path> paths)
           
 
Method Summary
 NodeImpl get(int index)
           
 NodeImpl next()
           
 NodeImpl nextNode()
           
 NodeImpl previous()
           
 NodeImpl previousNode()
           
 
Methods inherited from class org.priha.util.GenericIterator
getPosition, getSize, hasNext, hasPrevious, remove, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
 
Methods inherited from interface java.util.Iterator
hasNext, remove
 

Constructor Detail

LazyNodeIteratorImpl

public LazyNodeIteratorImpl(SessionImpl session,
                            java.util.List<Path> paths)
Method Detail

nextNode

public NodeImpl nextNode()
Specified by:
nextNode in interface javax.jcr.NodeIterator

previousNode

public NodeImpl previousNode()

next

public NodeImpl next()
Specified by:
next in interface java.util.Iterator
Overrides:
next in class GenericIterator

previous

public NodeImpl previous()
Overrides:
previous in class GenericIterator

get

public NodeImpl get(int index)
             throws javax.jcr.PathNotFoundException,
                    javax.jcr.RepositoryException
Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException