org.axiondb.engine.rowiterators
Class RowIteratorRowDecoratorIterator

java.lang.Object
  extended by org.axiondb.engine.rowiterators.RowIteratorRowDecoratorIterator
All Implemented Interfaces:
RowDecoratorIterator

public class RowIteratorRowDecoratorIterator
extends Object
implements RowDecoratorIterator

A RowDecoratorIterator based upon some decorator and RowIterator.

Version:
$Revision: 1.6 $ $Date: 2002/12/16 23:34:54 $

Constructor Summary
RowIteratorRowDecoratorIterator()
           
RowIteratorRowDecoratorIterator(RowIterator iterator, RowDecorator decorator)
           
 
Method Summary
 void add(Row row)
           
 RowDecorator current()
           
 RowDecorator first()
           
 RowDecorator getDecorator()
           
 RowIterator getIterator()
           
 boolean hasCurrent()
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 RowDecorator last()
           
 RowDecorator next()
           
 int nextIndex()
           
 RowDecorator previous()
           
 int previousIndex()
           
 void remove()
           
 void reset()
           
 void set(Row row)
           
 void setDecorator(RowDecorator decorator)
           
 void setIterator(RowIterator iterator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowIteratorRowDecoratorIterator

public RowIteratorRowDecoratorIterator()

RowIteratorRowDecoratorIterator

public RowIteratorRowDecoratorIterator(RowIterator iterator,
                                       RowDecorator decorator)
Method Detail

getDecorator

public RowDecorator getDecorator()
Specified by:
getDecorator in interface RowDecoratorIterator

setDecorator

public void setDecorator(RowDecorator decorator)
Specified by:
setDecorator in interface RowDecoratorIterator

getIterator

public RowIterator getIterator()
Specified by:
getIterator in interface RowDecoratorIterator

setIterator

public void setIterator(RowIterator iterator)
Specified by:
setIterator in interface RowDecoratorIterator

current

public RowDecorator current()
                     throws NoSuchElementException
Specified by:
current in interface RowDecoratorIterator
Throws:
NoSuchElementException

next

public RowDecorator next()
                  throws NoSuchElementException,
                         AxionException
Specified by:
next in interface RowDecoratorIterator
Throws:
NoSuchElementException
AxionException

previous

public RowDecorator previous()
                      throws NoSuchElementException,
                             AxionException
Specified by:
previous in interface RowDecoratorIterator
Throws:
NoSuchElementException
AxionException

hasNext

public boolean hasNext()
Specified by:
hasNext in interface RowDecoratorIterator

hasPrevious

public boolean hasPrevious()
Specified by:
hasPrevious in interface RowDecoratorIterator

hasCurrent

public boolean hasCurrent()
Specified by:
hasCurrent in interface RowDecoratorIterator

first

public RowDecorator first()
                   throws NoSuchElementException,
                          AxionException
Specified by:
first in interface RowDecoratorIterator
Throws:
NoSuchElementException
AxionException

last

public RowDecorator last()
                  throws NoSuchElementException,
                         AxionException
Specified by:
last in interface RowDecoratorIterator
Throws:
NoSuchElementException
AxionException

nextIndex

public int nextIndex()

previousIndex

public int previousIndex()

remove

public void remove()
            throws AxionException
Throws:
AxionException

set

public void set(Row row)
         throws AxionException
Throws:
AxionException

add

public void add(Row row)
         throws AxionException
Throws:
AxionException

reset

public void reset()
           throws AxionException
Specified by:
reset in interface RowDecoratorIterator
Throws:
AxionException