public class PullableEventStream extends Object
| Constructor and Description |
|---|
PullableEventStream(BufferedQueue<Event> queue) |
| Modifier and Type | Method and Description |
|---|---|
StartElementEvent |
getLastStartElement() |
String |
getLocationHint() |
boolean |
matchCharacters() |
boolean |
matchEndElement() |
boolean |
matchEndElement(String tag) |
boolean |
matchIgnorableCharacters() |
boolean |
matchStartElement() |
boolean |
matchStartElement(String tag) |
Event |
pullAnyEvent() |
CharactersEvent |
pullCharacters() |
EndElementEvent |
pullEndElement() |
EndElementEvent |
pullEndElement(String tag) |
IgnorableCharactersEvent |
pullIgnorableCharacters() |
Event |
pullNonIgnorableEvent() |
StartElementEvent |
pullStartElement() |
StartElementEvent |
pullStartElement(String tag) |
public PullableEventStream(BufferedQueue<Event> queue) throws InterruptedException
InterruptedExceptionpublic Event pullAnyEvent() throws InterruptedException
InterruptedExceptionpublic Event pullNonIgnorableEvent() throws InterruptedException
InterruptedExceptionpublic StartElementEvent pullStartElement() throws InterruptedException, SAXException
InterruptedExceptionSAXExceptionpublic StartElementEvent pullStartElement(String tag) throws InterruptedException, SAXException
InterruptedExceptionSAXExceptionpublic EndElementEvent pullEndElement() throws InterruptedException, SAXException
InterruptedExceptionSAXExceptionpublic EndElementEvent pullEndElement(String tag) throws InterruptedException, SAXException
InterruptedExceptionSAXExceptionpublic CharactersEvent pullCharacters() throws InterruptedException, SAXException
InterruptedExceptionSAXExceptionpublic IgnorableCharactersEvent pullIgnorableCharacters() throws InterruptedException, SAXException
InterruptedExceptionSAXExceptionpublic boolean matchStartElement()
throws InterruptedException
InterruptedExceptionpublic boolean matchStartElement(String tag) throws InterruptedException
InterruptedExceptionpublic boolean matchEndElement()
throws InterruptedException
InterruptedExceptionpublic boolean matchEndElement(String tag) throws InterruptedException
InterruptedExceptionpublic boolean matchCharacters()
throws InterruptedException
InterruptedExceptionpublic boolean matchIgnorableCharacters()
throws InterruptedException
InterruptedExceptionpublic StartElementEvent getLastStartElement()
public String getLocationHint()