net.nutch.parse.html
Class RobotsMetaProcessor.RobotsMetaIndicator

java.lang.Object
  extended bynet.nutch.parse.html.RobotsMetaProcessor.RobotsMetaIndicator
Enclosing class:
RobotsMetaProcessor

public static class RobotsMetaProcessor.RobotsMetaIndicator
extends Object

Utility class with indicators for the robots directives "noindex" and "nofollow", and HTTP-EQUIV/no-cache


Constructor Summary
RobotsMetaProcessor.RobotsMetaIndicator()
           
 
Method Summary
 URL getBaseHref()
          Returns the baseHref, if set, or null otherwise.
 boolean getNoCache()
          Returns the current value of noCache.
 boolean getNoFollow()
          Returns the current value of noFollow.
 boolean getNoIndex()
          Returns the current value of noIndex.
 void reset()
          Sets noIndex, noFollow and noCache to false.
 void setBaseHref(URL baseHref)
          Sets the baseHref.
 void setNoCache()
          Sets noCache to true.
 void setNoFollow()
          Sets noFollow to true.
 void setNoIndex()
          Sets noIndex to true.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RobotsMetaProcessor.RobotsMetaIndicator

public RobotsMetaProcessor.RobotsMetaIndicator()
Method Detail

reset

public void reset()
Sets noIndex, noFollow and noCache to false.


setNoFollow

public void setNoFollow()
Sets noFollow to true.


setNoIndex

public void setNoIndex()
Sets noIndex to true.


setNoCache

public void setNoCache()
Sets noCache to true.


setBaseHref

public void setBaseHref(URL baseHref)
Sets the baseHref.


getNoIndex

public boolean getNoIndex()
Returns the current value of noIndex.


getNoFollow

public boolean getNoFollow()
Returns the current value of noFollow.


getNoCache

public boolean getNoCache()
Returns the current value of noCache.


getBaseHref

public URL getBaseHref()
Returns the baseHref, if set, or null otherwise.



Copyright © 2004 The Nutch Organization.