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
InterruptedException
public Event pullAnyEvent() throws InterruptedException
InterruptedException
public Event pullNonIgnorableEvent() throws InterruptedException
InterruptedException
public StartElementEvent pullStartElement() throws InterruptedException, SAXException
InterruptedException
SAXException
public StartElementEvent pullStartElement(String tag) throws InterruptedException, SAXException
InterruptedException
SAXException
public EndElementEvent pullEndElement() throws InterruptedException, SAXException
InterruptedException
SAXException
public EndElementEvent pullEndElement(String tag) throws InterruptedException, SAXException
InterruptedException
SAXException
public CharactersEvent pullCharacters() throws InterruptedException, SAXException
InterruptedException
SAXException
public IgnorableCharactersEvent pullIgnorableCharacters() throws InterruptedException, SAXException
InterruptedException
SAXException
public boolean matchStartElement() throws InterruptedException
InterruptedException
public boolean matchStartElement(String tag) throws InterruptedException
InterruptedException
public boolean matchEndElement() throws InterruptedException
InterruptedException
public boolean matchEndElement(String tag) throws InterruptedException
InterruptedException
public boolean matchCharacters() throws InterruptedException
InterruptedException
public boolean matchIgnorableCharacters() throws InterruptedException
InterruptedException
public StartElementEvent getLastStartElement()
public String getLocationHint()