scone.robot
Interface LinkClassifier
public interface LinkClassifier
This interface defines the functionaltity of a link classifier.
- Author:
- Frank Wollenweber
classify
void classify(RobotLink robotLink,
RobotHtmlNode robotHtmlNode,
QueueEntry qe)
- When a page is loaded the classify method is called for each link of the page.
Classify gets a robotLink and can use the setAttribute method to attach attributes to the robotLink
- Parameters:
robotLink
- The link to classifyrobotHtmlNode
- The document where the link was foundqe
- 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.