Class FilterContentPackage.FilteringIterator
- java.lang.Object
-
- org.apache.jackrabbit.commons.packaging.FilterContentPackage.FilteringIterator
-
- All Implemented Interfaces:
java.util.Iterator
- Enclosing class:
- FilterContentPackage
public static class FilterContentPackage.FilteringIterator extends java.lang.Object implements java.util.Iterator
-
-
Constructor Summary
Constructors Constructor Description FilteringIterator(Session session, java.util.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()
java.lang.Object
next()
void
remove()
-
-
-
Constructor Detail
-
FilteringIterator
public FilteringIterator(Session session, java.util.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 interfacejava.util.Iterator
- See Also:
Iterator.hasNext()
-
next
public java.lang.Object next()
- Specified by:
next
in interfacejava.util.Iterator
- See Also:
Iterator.next()
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator
- See Also:
Iterator.remove()
-
-