Class StoreAppender

java.lang.Object
   |
   +----StoreAppender

class StoreAppender
extends Object
implements StoreIterator
A StoreIterator that adds all elements of a Store to another Store. Just like ModuleStoreIterator, it `disables' the methods doAll() and action() from the interface Iterator (inherited through StoreIterator), because they work on Objects, while this class is designed to work only on Stores.

Version:
$Revision: 1.4 $

Variable Index

 o target
The Store which is to receive elements.

Constructor Index

 o StoreAppender(Store)

Method Index

 o action(Object)
 o action(StoreElement)
 o doAll(Object)
 o doAll(Store)
 o postAction()
 o preAction()

Variables

 o target
 private Store target
The Store which is to receive elements.

Constructors

 o StoreAppender
 public StoreAppender(Store target)
Parameters:
target - the target Store (the Store which will receive the contents of the other store.

Methods

 o doAll
 public void doAll(Store store)
 o preAction
 public void preAction()
 o action
 public void action(StoreElement item)
 o postAction
 public void postAction()
 o doAll
 public void doAll(Object s)
 o action
 public void action(Object e)