public class

IteratorGenerator

extends Object
implements Iterator<E> Action
java.lang.Object
   ↳ webwork.util.IteratorGenerator

Class Overview

A bean that generates an iterator filled with a given object

Summary

[Expand]
Inherited Constants
From interface webwork.action.Action
Public Constructors
IteratorGenerator()
Public Methods
String execute()
This method is where the logic of the action is executed.
boolean getHasNext()
Object getNext()
boolean hasNext()
Object next()
void remove()
void setCount(int aCount)
void setSeparator(String aChar)
void setValues(Object aValue)
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.util.Iterator
From interface webwork.action.Action

Public Constructors

public IteratorGenerator ()

Public Methods

public String execute ()

This method is where the logic of the action is executed. Parameters are passed by calling set-methods, or by implementing the ParameterAware interface.

Returns
  • a string representing the logical result of the execution. See constants in this interface for a list of standard result values.

public boolean getHasNext ()

public Object getNext ()

public boolean hasNext ()

public Object next ()

public void remove ()

public void setCount (int aCount)

public void setSeparator (String aChar)

public void setValues (Object aValue)