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<String>
Enclosing class:
Lister<BeanT,PropT,ItemT,PackT>

public static final class Lister.IDREFSIterator
extends Object
implements ListIterator<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().
 Object last()
          Returns the last referenced object (not just its ID)
 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<String>

last

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


next

public String next()
            throws SAXException,
                   JAXBException
Description copied from interface: ListIterator
Works like Iterator.next().

Specified by:
next in interface ListIterator<String>
Throws:
SAXException - if an error is found, reported, and we were told to abort
JAXBException - if an error is found, reported, and we were told to abort