Xindice API
version 1.2m1

org.apache.xindice.core.data
Class EmptyRecordSet

java.lang.Object
  extended byorg.apache.xindice.core.data.EmptyRecordSet
All Implemented Interfaces:
RecordSet

public final class EmptyRecordSet
extends Object
implements RecordSet

EmptyRecordSet implements an empty RecordSet.

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

Constructor Summary
EmptyRecordSet()
           
 
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
 

Constructor Detail

EmptyRecordSet

public EmptyRecordSet()
Method Detail

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
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
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
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
Returns:
The next Value

Xindice API
version 1.2m1

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