Class AppendIteratorFilter

java.lang.Object
org.apache.struts2.util.IteratorFilterSupport
org.apache.struts2.util.AppendIteratorFilter
All Implemented Interfaces:
Iterator<Object>, Action

public class AppendIteratorFilter extends IteratorFilterSupport implements Iterator<Object>, Action
A bean that takes several iterators and outputs them in sequence
See Also:
  • Constructor Details

    • AppendIteratorFilter

      public AppendIteratorFilter()
  • Method Details

    • 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<Object>
    • next

      public Object next()
      Specified by:
      next in interface Iterator<Object>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<Object>