Interface ListIterator<E>

  • All Known Implementing Classes:
    Lister.IDREFSIterator

    public interface ListIterator<E>
    Almost like Iterator but can throw JAXB specific exceptions.
    Author:
    Kohsuke Kawaguchi
    • Method Detail

      • hasNext

        boolean hasNext()
        Works like Iterator.hasNext().
      • next

        E next()
        throws org.xml.sax.SAXException,
               javax.xml.bind.JAXBException
        Works like Iterator.next().
        Throws:
        org.xml.sax.SAXException - if an error is found, reported, and we were told to abort
        javax.xml.bind.JAXBException - if an error is found, reported, and we were told to abort