org.iscreen
Class DocumentationIterator
java.lang.Object
org.iscreen.DocumentationIterator
- All Implemented Interfaces:
- java.util.Iterator
public class DocumentationIterator
- extends java.lang.Object
- implements java.util.Iterator
For each validation service, a set of documentation may exist (on a per
validator basis). Instances of this class represent the set of
documentation for the entire service.
- Author:
- Shellman, Dan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
items
protected java.util.List items
itemNames
protected java.util.List itemNames
currentIndex
protected int currentIndex
DocumentationIterator
public DocumentationIterator()
- Default constructor.
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator
next
public java.lang.Object next()
- Specified by:
next
in interface java.util.Iterator
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator
getCurrentName
public java.lang.String getCurrentName()
nextItem
public java.lang.String nextItem()
reset
public void reset()
getCount
public int getCount()
getDoc
public java.lang.String getDoc(int index)
getName
public java.lang.String getName(int index)
addItem
public void addItem(java.lang.String item,
java.lang.String name)
getCurrentIndex
public int getCurrentIndex()
addIterator
public void addIterator(DocumentationIterator it)