org.priha.util
Class LazyPropertyIteratorImpl

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

public class LazyPropertyIteratorImpl
extends GenericIterator
implements javax.jcr.PropertyIterator


Field Summary
 
Fields inherited from class org.priha.util.GenericIterator
m_iterator, m_list, m_position, m_size
 
Constructor Summary
LazyPropertyIteratorImpl(SessionImpl session, java.util.List<Path> paths)
           
 
Method Summary
 PropertyImpl get(int index)
           
 PropertyImpl next()
           
 PropertyImpl nextProperty()
           
 PropertyImpl previous()
           
 PropertyImpl previousProperty()
           
 
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

LazyPropertyIteratorImpl

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

nextProperty

public PropertyImpl nextProperty()
Specified by:
nextProperty in interface javax.jcr.PropertyIterator

previousProperty

public PropertyImpl previousProperty()

next

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

previous

public PropertyImpl previous()
Overrides:
previous in class GenericIterator

get

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