Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## scone.robot
Interface LinkClassifier

    public interface LinkClassifier

This interface defines the functionaltity of a link classifier.

Author:
  Frank Wollenweber

Method Summary
`void` | `classify(RobotLink robotLink, RobotHtmlNode robotHtmlNode, QueueEntry qe)` When a page is loaded the classify method is called for each link of the page.

Method Detail

### 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 classify
    `robotHtmlNode` - The document where the link was found
    `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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD