org.apache.xindice.core.data
Class EmptyRecordSet
java.lang.Object
|
+--org.apache.xindice.core.data.EmptyRecordSet
- All Implemented Interfaces:
- RecordSet
- public final class EmptyRecordSet
- extends Object
- implements RecordSet
EmptyRecordSet implements an empty RecordSet.
- Version:
- $Revision: 511426 $, $Date: 2007-02-24 22:25:02 -0500 (Sat, 24 Feb 2007) $
Method Summary |
Key |
getNextKey()
getNextKey returns the next Record's Key, and skips the
RecordSet ahead to the next Record. |
Record |
getNextRecord()
getNextRecord returns the next Record in the set. |
Value |
getNextValue()
getNextValue returns the next Record's Value, and skips the
RecordSet ahead to the next Record. |
boolean |
hasMoreRecords()
hasMoreRecords returns whether or not there are any Records
left in the set. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmptyRecordSet
public EmptyRecordSet()
hasMoreRecords
public boolean hasMoreRecords()
- Description copied from interface:
RecordSet
- hasMoreRecords returns whether or not there are any Records
left in the set.
- Specified by:
hasMoreRecords
in interface RecordSet
- Following copied from interface:
org.apache.xindice.core.data.RecordSet
- Returns:
- Whether there are any more Records
getNextRecord
public Record getNextRecord()
- Description copied from interface:
RecordSet
- getNextRecord returns the next Record in the set.
- Specified by:
getNextRecord
in interface RecordSet
- Following copied from interface:
org.apache.xindice.core.data.RecordSet
- Returns:
- The next Record
getNextKey
public Key getNextKey()
- Description copied from interface:
RecordSet
- getNextKey returns the next Record's Key, and skips the
RecordSet ahead to the next Record.
- Specified by:
getNextKey
in interface RecordSet
- Following copied from interface:
org.apache.xindice.core.data.RecordSet
- Returns:
- The next Key
getNextValue
public Value getNextValue()
- Description copied from interface:
RecordSet
- getNextValue returns the next Record's Value, and skips the
RecordSet ahead to the next Record.
- Specified by:
getNextValue
in interface RecordSet
- Following copied from interface:
org.apache.xindice.core.data.RecordSet
- Returns:
- The next Value
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.