01: package bdd.search.spider;
02:
03: /** Written by Tim Macinta 1997 <br>
04: * Distributed under the GNU Public License
05: * (a copy of which is enclosed with the source). <br>
06: * <br>
07: * This LinkExtractor should be used for document types that
08: * don't have hyperlinks. This is basically an empty enumeration.
09: */
10:
11: public class NullLinkExtractor implements LinkExtractor {
12:
13: public NullLinkExtractor() {
14: }
15:
16: public boolean hasMoreElements() {
17: return false;
18: }
19:
20: public Object nextElement() {
21: throw new java.util.NoSuchElementException();
22: }
23:
24: }
|