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

java.lang.Object
  extended by org.apache.cocoon.components.crawler.SimpleCocoonCrawlerImpl.CocoonCrawlerIterator
All Implemented Interfaces:
Iterator
Enclosing class:
SimpleCocoonCrawlerImpl

public static class SimpleCocoonCrawlerImpl.CocoonCrawlerIterator
extends Object
implements Iterator

Helper class implementing an Iterator

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

Version:
$Id: SimpleCocoonCrawlerImpl.CocoonCrawlerIterator.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Bernhard Huber

Method Summary
 boolean hasNext()
          check if crawling is finished.
 Object next()
           
 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 Iterator
Returns:
true if crawling has finished, else false.

next

public Object next()
Specified by:
next in interface Iterator
Returns:
the next URL

remove

public void remove()
remove is not implemented

Specified by:
remove in interface Iterator


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.