Xindice API
version 1.2m1

org.apache.xindice.core.data
Class EmptyDocumentSet

java.lang.Object
  extended byorg.apache.xindice.core.data.EmptyDocumentSet
All Implemented Interfaces:
DocumentSet

public final class EmptyDocumentSet
extends Object
implements DocumentSet

EmptyDocumentSet implements an empty DocumentSet.

Version:
$Revision: 541508 $, $Date: 2007-05-24 21:54:12 -0400 (Thu, 24 May 2007) $

Constructor Summary
EmptyDocumentSet()
           
 
Method Summary
 Container getNextContainer()
          getNextContainer returns the next Document in the set wrapped in a Collection Container.
 org.w3c.dom.Document getNextDocument()
          getNextDocument returns the next Document in the set.
 boolean hasMoreDocuments()
          hasMoreDocuments returns whether there are any more Documents left in the set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyDocumentSet

public EmptyDocumentSet()
Method Detail

hasMoreDocuments

public boolean hasMoreDocuments()
Description copied from interface: DocumentSet
hasMoreDocuments returns whether there are any more Documents left in the set.

Specified by:
hasMoreDocuments in interface DocumentSet
Returns:
Whether there are more Documents

getNextDocument

public org.w3c.dom.Document getNextDocument()
Description copied from interface: DocumentSet
getNextDocument returns the next Document in the set.

Specified by:
getNextDocument in interface DocumentSet
Returns:
The next Document

getNextContainer

public Container getNextContainer()
Description copied from interface: DocumentSet
getNextContainer returns the next Document in the set wrapped in a Collection Container. Containers store extra information about the Document (like its Key)

Specified by:
getNextContainer in interface DocumentSet
Returns:
The next Container

Xindice API
version 1.2m1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.