fable.adt
Interface FableVisitor


public interface FableVisitor

This class is part of visitor design pattern, enables easy addition of multiple operation on the ADT.

Author:
Wonsik Kim

Method Summary
 void visit(Article a)
          Visit the article a and to appropriate operation on a.
 void visit(Feed f)
          Visit the feed f and do appropriate operation on f.
 void visit(Folder f)
          Visit the folder f and do appropriate operation on f.
 

Method Detail

visit

void visit(Folder f)
Visit the folder f and do appropriate operation on f.

Parameters:
f - a folder to visit.

visit

void visit(Feed f)
Visit the feed f and do appropriate operation on f.

Parameters:
f - a feed to visit.

visit

void visit(Article a)
Visit the article a and to appropriate operation on a.

Parameters:
a - an article to visit.