websphinx.workbench
Class LabelPredicate
java.lang.Object
|
+--websphinx.workbench.LabelPredicate
- All Implemented Interfaces:
- LinkPredicate, PagePredicate, java.io.Serializable
- public class LabelPredicate
- extends java.lang.Object
- implements LinkPredicate, PagePredicate
- See Also:
- Serialized Form
Field Summary |
(package private) java.lang.String |
labels
|
(package private) boolean |
orTerms
|
Constructor Summary |
LabelPredicate(java.lang.String labels,
boolean orTerms)
|
Methods inherited from class java.lang.Object |
, clone, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
labels
java.lang.String labels
orTerms
boolean orTerms
LabelPredicate
public LabelPredicate(java.lang.String labels,
boolean orTerms)
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in class java.lang.Object
getLabels
public java.lang.String getLabels()
getOrTerms
public boolean getOrTerms()
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