websphinx.workbench
Class ContentPredicate

java.lang.Object
  |
  +--websphinx.workbench.ContentPredicate
All Implemented Interfaces:
LinkPredicate, PagePredicate, java.io.Serializable

public class ContentPredicate
extends java.lang.Object
implements LinkPredicate, PagePredicate

See Also:
Serialized Form

Field Summary
(package private)  boolean overHTML
           
(package private)  Pattern pattern
           
 
Constructor Summary
ContentPredicate(Pattern pattern, boolean overHTML)
           
 
Method Summary
 void connected(Crawler crawler)
           
 void disconnected(Crawler crawler)
           
 boolean equals(java.lang.Object object)
           
 boolean getOverHTML()
           
 Pattern getPattern()
           
 boolean shouldActOn(Page page)
           
 boolean shouldVisit(Link link)
           
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

pattern

Pattern pattern

overHTML

boolean overHTML
Constructor Detail

ContentPredicate

public ContentPredicate(Pattern pattern,
                        boolean overHTML)
Method Detail

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

getPattern

public Pattern getPattern()

getOverHTML

public boolean getOverHTML()

connected

public void connected(Crawler crawler)
Specified by:
connected in interface LinkPredicate

disconnected

public void disconnected(Crawler crawler)
Specified by:
disconnected in interface LinkPredicate

shouldVisit

public boolean shouldVisit(Link link)
Specified by:
shouldVisit in interface LinkPredicate

shouldActOn

public boolean shouldActOn(Page page)
Specified by:
shouldActOn in interface PagePredicate