|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.sling.commons.testing.jcr.MockNodeIterator
public class MockNodeIterator
| Constructor Summary | |
|---|---|
MockNodeIterator(javax.jcr.Node[] nodes)
|
|
| Method Summary | |
|---|---|
long |
getPosition()
|
long |
getSize()
|
boolean |
hasNext()
|
java.lang.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 |
| Constructor Detail |
|---|
public MockNodeIterator(javax.jcr.Node[] nodes)
| Method Detail |
|---|
public javax.jcr.Node nextNode()
nextNode in interface javax.jcr.NodeIteratorpublic long getPosition()
getPosition in interface javax.jcr.RangeIteratorpublic long getSize()
getSize in interface javax.jcr.RangeIteratorpublic void skip(long skipNum)
skip in interface javax.jcr.RangeIteratorpublic boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorpublic void remove()
remove in interface java.util.Iterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||