com.opensymphony.webwork.util
Class MergeIteratorFilter
java.lang.Object
com.opensymphony.webwork.util.IteratorFilterSupport
com.opensymphony.webwork.util.MergeIteratorFilter
- All Implemented Interfaces:
- Action, Iterator
public class MergeIteratorFilter
- extends IteratorFilterSupport
- implements Iterator, Action
A bean that takes several iterators and outputs the merge of them. Used by
MergeIteratorTag.
- Version:
- $Revision: 2338 $
- Author:
- Rickard ??berg (rickard@middleware-company.com)
- See Also:
MergeIteratorTag
,
MergeIterator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MergeIteratorFilter
public MergeIteratorFilter()
setSource
public void setSource(Object anIterator)
execute
public String execute()
- Description copied from interface:
Action
- Where the logic of the action is executed.
- Specified by:
execute
in interface Action
- Returns:
- a string representing the logical result of the execution.
See constants in this interface for a list of standard result values.
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