org.codehaus.stax2
public interface XMLEventReader2 extends javax.xml.stream.XMLEventReader
XMLEventReader
, based on findings on trying to
implement StAX API v1.0.Modifier and Type | Method and Description |
---|---|
boolean |
hasNextEvent()
Method that is similar to
XMLEventReader.hasNext() , except that it can
throw a XMLStreamException . |
boolean hasNextEvent() throws javax.xml.stream.XMLStreamException
XMLEventReader.hasNext()
, except that it can
throw a XMLStreamException
. This is important distinction,
since the underlying stream reader is allowed to throw such an
exception when its
hasNext()
gets called.javax.xml.stream.XMLStreamException