Module com.sun.xml.bind
Class Lister.IDREFSIterator
- java.lang.Object
-
- org.glassfish.jaxb.runtime.v2.runtime.reflect.Lister.IDREFSIterator
-
- All Implemented Interfaces:
ListIterator<String>
public static final class Lister.IDREFSIterator extends Object implements ListIterator<String>
Iteratorfor 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 booleanhasNext()Works likeIterator.hasNext().Objectlast()Returns the last referenced object (not just its ID)Stringnext()Works likeIterator.next().
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
Description copied from interface:ListIteratorWorks likeIterator.hasNext().- Specified by:
hasNextin interfaceListIterator<String>
-
last
public Object last()
Returns the last referenced object (not just its ID)
-
next
public String next() throws SAXException, jakarta.xml.bind.JAXBException
Description copied from interface:ListIteratorWorks likeIterator.next().- Specified by:
nextin interfaceListIterator<String>- Throws:
SAXException- if an error is found, reported, and we were told to abortjakarta.xml.bind.JAXBException- if an error is found, reported, and we were told to abort
-
-