org.apache.xindice.core.data
Class EmptyDocumentSet
java.lang.Object
|
+--org.apache.xindice.core.data.EmptyDocumentSet
- All Implemented Interfaces:
- DocumentSet
- public final class EmptyDocumentSet
- extends Object
- implements DocumentSet
EmptyDocumentSet implements an empty DocumentSet.
- Version:
- $Revision: 511426 $, $Date: 2007-02-24 22:25:02 -0500 (Sat, 24 Feb 2007) $
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 |
EmptyDocumentSet
public EmptyDocumentSet()
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
- Following copied from interface:
org.apache.xindice.core.data.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
- Following copied from interface:
org.apache.xindice.core.data.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
- Following copied from interface:
org.apache.xindice.core.data.DocumentSet
- Returns:
- The next Container
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.