org.entityfs.util.itr
Class LocationAwareDepthFirstIteratorContextImpl

java.lang.Object
  extended by org.entityfs.util.itr.LocationAwareDepthFirstIteratorContextImpl

public final class LocationAwareDepthFirstIteratorContextImpl
extends Object

This is used internally by LocationAwareDepthFirstIteratorImpl to keep track of where it is.

Since:
1.1
Author:
Karl Gustafsson

Method Summary
protected  Iterator<EntityAndRelativeLocation<EntityView>> createIterator(EntityListable el, Filter<? super EntityView> f)
           
 EntityListable getDirectory()
           
 Iterator<T> getIterator()
           
 boolean isIteratingOverChildDirectories()
           
 void startIteratingOverChildElements(Filter<? super EntityView> f)
           
 boolean testAndClearShouldReturnThis()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createIterator

protected Iterator<EntityAndRelativeLocation<EntityView>> createIterator(EntityListable el,
                                                                         Filter<? super EntityView> f)

testAndClearShouldReturnThis

public boolean testAndClearShouldReturnThis()

getDirectory

public EntityListable getDirectory()

isIteratingOverChildDirectories

public boolean isIteratingOverChildDirectories()

startIteratingOverChildElements

public void startIteratingOverChildElements(Filter<? super EntityView> f)

getIterator

public Iterator<T> getIterator()