com.sun.xml.bind.v2.runtime.reflect
Class Lister.IDREFSIterator

java.lang.Object
  extended by com.sun.xml.bind.v2.runtime.reflect.Lister.IDREFSIterator
All Implemented Interfaces:
ListIterator<java.lang.String>
Enclosing class:
Lister<BeanT,PropT,ItemT,PackT>

public static final class Lister.IDREFSIterator
extends java.lang.Object
implements ListIterator<java.lang.String>

Iterator for IDREFS lister.

Only in ArrayElementProperty we need to get the actual referenced object. This is a kind of ugly way to make that work.


Method Summary
 boolean hasNext()
          Works like Iterator.hasNext().
 java.lang.Object last()
          Returns the last referenced object (not just its ID)
 java.lang.String next()
          Works like Iterator.next().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasNext

public boolean hasNext()
Description copied from interface: ListIterator
Works like Iterator.hasNext().

Specified by:
hasNext in interface ListIterator<java.lang.String>

last

public java.lang.Object last()
Returns the last referenced object (not just its ID)


next

public java.lang.String next()
                      throws org.xml.sax.SAXException,
                             javax.xml.bind.JAXBException
Description copied from interface: ListIterator
Works like Iterator.next().

Specified by:
next in interface ListIterator<java.lang.String>
Throws:
org.xml.sax.SAXException - if an error is found, reported, and we were told to abort
javax.xml.bind.JAXBException - if an error is found, reported, and we were told to abort