[TOC]

  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

org.creativecommons.nutch

Class CCParseFilter.Walker


public static class CCParseFilter.Walker
extends Object

Walks DOM tree, looking for RDF in comments and licenses in anchors.

Method Summary

Methods Modifier and Type Method and Description static void walk(Node doc, URL base, Metadata metadata, org.apache.hadoop.conf.Configuration conf) Scan the document adding attributes to metadata.

-    

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail

-  

walk

public static void walk(Node doc,
        URL base,
        Metadata metadata,
        org.apache.hadoop.conf.Configuration conf)
                 throws ParseException

Scan the document adding attributes to metadata.

  - Throws: 
  - <code>ParseException</code>      

  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

Copyright © 2014 The Apache Software Foundation