DLESE Tools
v1.6.0

org.dlese.dpc.index.reader
Class XMLDocReader.VocabUiLabelsCollection.VocabUiLabelsIterator

java.lang.Object
  extended by org.dlese.dpc.index.reader.XMLDocReader.VocabUiLabelsCollection.VocabUiLabelsIterator
All Implemented Interfaces:
Iterator
Enclosing class:
XMLDocReader.VocabUiLabelsCollection

public final class XMLDocReader.VocabUiLabelsCollection.VocabUiLabelsIterator
extends Object
implements Iterator

The Iterator

Author:
John Weatherley

Constructor Summary
XMLDocReader.VocabUiLabelsCollection.VocabUiLabelsIterator()
           
 
Method Summary
 boolean hasNext()
          True if more items availble
 Object next()
          Gets the next UI label in the collection.
 void remove()
          This method is not supported.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLDocReader.VocabUiLabelsCollection.VocabUiLabelsIterator

public XMLDocReader.VocabUiLabelsCollection.VocabUiLabelsIterator()
Method Detail

hasNext

public boolean hasNext()
True if more items availble

Specified by:
hasNext in interface Iterator
Returns:
True if more items availble

next

public Object next()
            throws NoSuchElementException
Gets the next UI label in the collection. If the UI label can not be determined using the vocab manager, the vocab ID will be returned unchanged.

Specified by:
next in interface Iterator
Returns:
The next UI lable in the collection
Throws:
NoSuchElementException - If no more items are available

remove

public void remove()
            throws UnsupportedOperationException
This method is not supported.

Specified by:
remove in interface Iterator
Throws:
UnsupportedOperationException - Thrown if this method is called.

DLESE Tools
v1.6.0