scone.robot
Interface PageClassifier
public interface PageClassifier
This interface defines the functionaltity of a page classifier.
- Author:
- Frank Wollenweber
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 classifyqe
- 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.