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