org.apache.cocoon.components.crawler
Class SimpleCocoonCrawlerImpl.CocoonCrawlerIterator

java.lang.Object
  |
  +--org.apache.cocoon.components.crawler.SimpleCocoonCrawlerImpl.CocoonCrawlerIterator
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
SimpleCocoonCrawlerImpl

public static class SimpleCocoonCrawlerImpl.CocoonCrawlerIterator
extends java.lang.Object
implements java.util.Iterator

Helper class implementing an Iterator

This Iterator implementation calculates the links of an URL before returning in the next() method.

Version:
$Id: SimpleCocoonCrawlerImpl.java,v 1.9.2.2 2002/08/17 04:10:12 vgritsenko Exp $
Author:
Method Summary
 boolean hasNext()
          check if crawling is finished.
 java.lang.Object next()
          return the next URL
 void remove()
          remove is not implemented
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasNext

public boolean hasNext()
check if crawling is finished.
Specified by:
hasNext in interface java.util.Iterator
Returns:
Description of the Returned Value
Since:
 

next

public java.lang.Object next()
return the next URL
Specified by:
next in interface java.util.Iterator
Returns:
Description of the Returned Value
Since:
 

remove

public void remove()
remove is not implemented
Specified by:
remove in interface java.util.Iterator
Since:
 


Copyright � 1999-2002 Apache Software Foundation. All Rights Reserved.