Class MockNodeIterator
- java.lang.Object
-
- org.apache.sling.commons.testing.jcr.MockNodeIterator
-
-
Constructor Summary
Constructors Constructor Description MockNodeIterator()
MockNodeIterator(javax.jcr.Node[] nodes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getPosition()
long
getSize()
boolean
hasNext()
Object
next()
javax.jcr.Node
nextNode()
void
remove()
void
skip(long skipNum)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
nextNode
public javax.jcr.Node nextNode()
- Specified by:
nextNode
in interfacejavax.jcr.NodeIterator
-
getPosition
public long getPosition()
- Specified by:
getPosition
in interfacejavax.jcr.RangeIterator
-
getSize
public long getSize()
- Specified by:
getSize
in interfacejavax.jcr.RangeIterator
-
skip
public void skip(long skipNum)
- Specified by:
skip
in interfacejavax.jcr.RangeIterator
-
-