public class JCRDescendantsNodeIterator extends Object implements JCRNodeIteratorWrapper
EMPTY| Constructor and Description |
|---|
JCRDescendantsNodeIterator(JCRNodeWrapper node,
Predicate<JCRNodeWrapper> recursionPredicate)
Build a new instance of descendants node iterator
|
| Modifier and Type | Method and Description |
|---|---|
long |
getPosition() |
long |
getSize() |
boolean |
hasNext() |
Iterator<JCRNodeWrapper> |
iterator() |
JCRNodeWrapper |
next() |
javax.jcr.Node |
nextNode() |
void |
skip(long skipNum) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removeforEach, spliteratorpublic JCRDescendantsNodeIterator(JCRNodeWrapper node, Predicate<JCRNodeWrapper> recursionPredicate) throws javax.jcr.RepositoryException
node - the node to get the descendants fromrecursionPredicate - predicate used to test if iteration should fetch descendants of each encountered nodesjavax.jcr.RepositoryExceptionpublic Iterator<JCRNodeWrapper> iterator()
iterator in interface Iterable<JCRNodeWrapper>public JCRNodeWrapper next()
public javax.jcr.Node nextNode()
nextNode in interface javax.jcr.NodeIteratorpublic void skip(long skipNum)
skip in interface javax.jcr.RangeIteratorpublic long getSize()
getSize in interface javax.jcr.RangeIteratorpublic long getPosition()
getPosition in interface javax.jcr.RangeIteratorCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.