com.opensymphony.webwork.util
Class MergeIteratorFilter

java.lang.Object
  extended bycom.opensymphony.webwork.util.IteratorFilterSupport
      extended bycom.opensymphony.webwork.util.MergeIteratorFilter
All Implemented Interfaces:
com.opensymphony.xwork.Action, Iterator

public class MergeIteratorFilter
extends IteratorFilterSupport
implements Iterator, com.opensymphony.xwork.Action

A bean that takes several iterators and outputs the merge of them.

Version:
$Revision: 1.4 $
Author:
Rickard ?berg (rickard@middleware-company.com)

Nested Class Summary
 
Nested classes inherited from class com.opensymphony.webwork.util.IteratorFilterSupport
IteratorFilterSupport.EnumerationIterator
 
Field Summary
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
MergeIteratorFilter()
           
 
Method Summary
 String execute()
           
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 void setSource(Object anIterator)
           
 
Methods inherited from class com.opensymphony.webwork.util.IteratorFilterSupport
getIterator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MergeIteratorFilter

public MergeIteratorFilter()
Method Detail

setSource

public void setSource(Object anIterator)

execute

public String execute()
Specified by:
execute in interface com.opensymphony.xwork.Action

hasNext

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

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator

WebWork Project Page