edu.rice.cs.util.docnavigation
Interface NodeDataVisitor<ItemT extends INavigatorItem,Ret>


public interface NodeDataVisitor<ItemT extends INavigatorItem,Ret>

This visitor runs on NodeData. The only variation from the standard visitor pattern is that the dispatched methods do not receive an instance of the host, but rather an instance of the data the host was meant to hold. This allows the host to be considered a simple data wrapper.


Method Summary
 Ret fileCase(File f, Object... p)
           
 Ret itemCase(ItemT i, Object... p)
           
 Ret stringCase(String s, Object... p)
           
 

Method Detail

fileCase

Ret fileCase(File f,
             Object... p)

stringCase

Ret stringCase(String s,
               Object... p)

itemCase

Ret itemCase(ItemT i,
             Object... p)