001package horstmann.ch10_visitor;
002/**
003   The visitor interface type for visiting file system nodes.
004 */
005public interface FileSystemVisitor
006{
007        /**
008      Visits a file node.
009      @param node the file node
010         */
011        void visitFileNode(FileNode node);
012
013        /**
014      Visits a directory node.
015      @param node the directory node
016         */
017        void visitDirectoryNode(DirectoryNode node);
018}