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.
Modifier and Type | Method and Description |
---|---|
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() . |
public boolean hasNext()
ListIterator
Iterator.hasNext()
.hasNext
in interface ListIterator<java.lang.String>
public java.lang.Object last()
public java.lang.String next() throws org.xml.sax.SAXException, javax.xml.bind.JAXBException
ListIterator
Iterator.next()
.next
in interface ListIterator<java.lang.String>
org.xml.sax.SAXException
- if an error is found, reported, and we were told to abortjavax.xml.bind.JAXBException
- if an error is found, reported, and we were told to abort