import java.util.List;
/**
- *
+ * Abstract visitor of the tv guide with default looping behavior.
*/
public abstract class AbstractVisitor implements Visitor {
+ /**
+ * Constructs the visitor.
+ *
+ */
protected AbstractVisitor() {
// Empty
}
- /* (non-Javadoc)
- * @see org.wamblee.crawler.kiss.Visitor#visitChannel(org.wamblee.crawler.kiss.Channel)
+ /**
+ * Visits the channel by visiting all programs of the channel.
+ * @param aChannel Channel to visit.
*/
public void visitChannel(Channel aChannel) {
List<Program> programs = aChannel.getPrograms();
}
}
- /* (non-Javadoc)
- * @see org.wamblee.crawler.kiss.Visitor#visitTvGuide(org.wamblee.crawler.kiss.TVGuide)
+ /**
+ * Visits the TV guide by visiting all channels of the guide.
+ * @param aGuide TV guide to visit.
*/
public void visitTvGuide(TVGuide aGuide) {
List<Channel> channels = aGuide.getChannels();