Class FilterContentPackage.FilteringIterator
- java.lang.Object
-
- org.apache.jackrabbit.commons.packaging.FilterContentPackage.FilteringIterator
-
- All Implemented Interfaces:
Iterator
- Enclosing class:
- FilterContentPackage
public static class FilterContentPackage.FilteringIterator extends Object implements Iterator
-
-
Constructor Summary
Constructors Constructor Description FilteringIterator(Session session, List<org.apache.jackrabbit.commons.packaging.FilterContentPackage.Content> contentList, boolean includeProperties)
Creates a new tree walker that uses the given filter as include and traversal filter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
Object
next()
void
remove()
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
FilteringIterator
public FilteringIterator(Session session, List<org.apache.jackrabbit.commons.packaging.FilterContentPackage.Content> contentList, boolean includeProperties)
Creates a new tree walker that uses the given filter as include and traversal filter.- Parameters:
session
- The session.contentList
- The list of content objects.includeProperties
- Should properties be included.
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceIterator
- See Also:
Iterator.hasNext()
-
next
public Object next()
- Specified by:
next
in interfaceIterator
- See Also:
Iterator.next()
-
remove
public void remove()
- Specified by:
remove
in interfaceIterator
- See Also:
Iterator.remove()
-
-