edu.rice.cs.util.docnavigation
Interface IDocumentNavigatorAlgo<ItemT extends INavigatorItem,InType,ReturnType>


public interface IDocumentNavigatorAlgo<ItemT extends INavigatorItem,InType,ReturnType>

Visitor interface implemented by anything which wishes to visit an IDocumentNavigator


Method Summary
 ReturnType forList(IDocumentNavigator<ItemT> navigator, InType input)
          the List case for the visitor
 ReturnType forTree(IDocumentNavigator<ItemT> navigator, InType input)
          the Tree case for the visitor
 

Method Detail

forList

ReturnType forList(IDocumentNavigator<ItemT> navigator,
                   InType input)
the List case for the visitor

Parameters:
navigator - the navigator that is executing the visitor
input - the input to the algorithm

forTree

ReturnType forTree(IDocumentNavigator<ItemT> navigator,
                   InType input)
the Tree case for the visitor

Parameters:
navigator - the navigator that is executing the visitor
input - the input to the algorithm