scone.robot
Interface PageClassifier


public interface PageClassifier

This interface defines the functionaltity of a page classifier.

Author:
Frank Wollenweber

Method Summary
 void classify(RobotHtmlNode robotHtmlNode, QueueEntry qe)
          When a page is loaded the classify method is called.
 

Method Detail

classify

void classify(RobotHtmlNode robotHtmlNode,
              QueueEntry qe)
When a page is loaded the classify method is called. Classify gets a robotHtmlNode and can use the setAttribute method to attach attributes to the robotHtmlNode

Parameters:
robotHtmlNode - the htmlNode to classify
qe - The entry of the queue which causes the robot to download robotHtmlNode. This parameter gives the classifier access to the RobotTask and the current scanning-depth.