Class Lister.IDREFSIterator
- java.lang.Object
-
- com.sun.xml.bind.v2.runtime.reflect.Lister.IDREFSIterator
-
- All Implemented Interfaces:
ListIterator<java.lang.String>
public static final class Lister.IDREFSIterator extends java.lang.Object implements ListIterator<java.lang.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().java.lang.Objectlast()Returns the last referenced object (not just its ID)java.lang.Stringnext()Works likeIterator.next().
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
Description copied from interface:ListIteratorWorks likeIterator.hasNext().- Specified by:
hasNextin interfaceListIterator<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.JAXBExceptionDescription copied from interface:ListIteratorWorks likeIterator.next().- Specified by:
nextin interfaceListIterator<java.lang.String>- Throws:
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
-
-