Package org.apache.struts2.util
Class IteratorGenerator
java.lang.Object
org.apache.struts2.util.IteratorGenerator
A bean that generates an iterator filled with a given object depending on the count,
 separator and converter defined. It is being used by IteratorGeneratorTag.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceInterface for converting each separated token into an Object of choice.
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionexecute()Where the logic of the action is executed.booleangetNext()booleanhasNext()next()voidremove()voidsetConverter(IteratorGenerator.Converter aConverter) voidsetCount(int aCount) voidsetSeparator(String aChar) voidMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.IteratorforEachRemaining
- 
Constructor Details- 
IteratorGeneratorpublic IteratorGenerator()
 
- 
- 
Method Details- 
setCountpublic void setCount(int aCount) 
- 
getHasNextpublic boolean getHasNext()
- 
getNext
- 
setSeparator
- 
setConverter
- 
setValues
- 
executeDescription copied from interface:ActionWhere the logic of the action is executed.
- 
hasNextpublic boolean hasNext()
- 
next
- 
removepublic void remove()
 
-