Class Lister.IDREFSIterator
- java.lang.Object
-
- com.sun.xml.bind.v2.runtime.reflect.Lister.IDREFSIterator
-
- All Implemented Interfaces:
ListIterator<String>
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
Works likeIterator.hasNext()
.Object
last()
Returns the last referenced object (not just its ID)String
next()
Works likeIterator.next()
.
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
Description copied from interface:ListIterator
Works likeIterator.hasNext()
.- Specified by:
hasNext
in interfaceListIterator<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 likeIterator.next()
.- Specified by:
next
in interfaceListIterator<String>
- Throws:
SAXException
- if an error is found, reported, and we were told to abortJAXBException
- if an error is found, reported, and we were told to abort
-
-