|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XMLEventReader2
Extended interface that implements functionality that is missing
from XMLEventReader
, based on findings on trying to
implement StAX API v1.0.
Method Summary | |
---|---|
boolean |
hasNextEvent()
Method that is similar to XMLEventReader.hasNext() , except that it can
throw a XMLStreamException . |
Methods inherited from interface javax.xml.stream.XMLEventReader |
---|
close, getElementText, getProperty, hasNext, nextEvent, nextTag, peek |
Methods inherited from interface java.util.Iterator |
---|
next, remove |
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |