Class 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()  
      • 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,
                                 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 interface java.util.Iterator
        See Also:
        Iterator.hasNext()
      • next

        public java.lang.Object next()
        Specified by:
        next in interface java.util.Iterator
        See Also:
        Iterator.next()
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator
        See Also:
        Iterator.remove()