Class PullableEventStream
java.lang.Object
de.bsvrz.sys.funclib.xmlSupport.saxPullAdapter.PullableEventStream
public class PullableEventStream
extends java.lang.Object
Klasse, zum Zugriff auf die vom SaxPullAdapter beim Parsen einer XML-Datei erzeugten Ereignisse.
-
Constructor Summary
Constructors Constructor Description PullableEventStream(de.bsvrz.sys.funclib.concurrent.BufferedQueue<Event> queue) -
Method Summary
Modifier and Type Method Description StartElementEventgetLastStartElement()java.lang.StringgetLocationHint()booleanmatchCharacters()booleanmatchEndElement()booleanmatchEndElement(java.lang.String tag)booleanmatchIgnorableCharacters()booleanmatchStartElement()booleanmatchStartElement(java.lang.String tag)EventpullAnyEvent()CharactersEventpullCharacters()EndElementEventpullEndElement()EndElementEventpullEndElement(java.lang.String tag)IgnorableCharactersEventpullIgnorableCharacters()EventpullNonIgnorableEvent()StartElementEventpullStartElement()StartElementEventpullStartElement(java.lang.String tag)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PullableEventStream
public PullableEventStream(de.bsvrz.sys.funclib.concurrent.BufferedQueue<Event> queue) throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
-
Method Details
-
pullAnyEvent
- Throws:
java.lang.InterruptedException
-
pullNonIgnorableEvent
- Throws:
java.lang.InterruptedException
-
pullStartElement
public StartElementEvent pullStartElement() throws java.lang.InterruptedException, org.xml.sax.SAXException- Throws:
java.lang.InterruptedExceptionorg.xml.sax.SAXException
-
pullStartElement
public StartElementEvent pullStartElement(java.lang.String tag) throws java.lang.InterruptedException, org.xml.sax.SAXException- Throws:
java.lang.InterruptedExceptionorg.xml.sax.SAXException
-
pullEndElement
public EndElementEvent pullEndElement() throws java.lang.InterruptedException, org.xml.sax.SAXException- Throws:
java.lang.InterruptedExceptionorg.xml.sax.SAXException
-
pullEndElement
public EndElementEvent pullEndElement(java.lang.String tag) throws java.lang.InterruptedException, org.xml.sax.SAXException- Throws:
java.lang.InterruptedExceptionorg.xml.sax.SAXException
-
pullCharacters
public CharactersEvent pullCharacters() throws java.lang.InterruptedException, org.xml.sax.SAXException- Throws:
java.lang.InterruptedExceptionorg.xml.sax.SAXException
-
pullIgnorableCharacters
public IgnorableCharactersEvent pullIgnorableCharacters() throws java.lang.InterruptedException, org.xml.sax.SAXException- Throws:
java.lang.InterruptedExceptionorg.xml.sax.SAXException
-
matchStartElement
public boolean matchStartElement() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
matchStartElement
public boolean matchStartElement(java.lang.String tag) throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
matchEndElement
public boolean matchEndElement() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
matchEndElement
public boolean matchEndElement(java.lang.String tag) throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
matchCharacters
public boolean matchCharacters() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
matchIgnorableCharacters
public boolean matchIgnorableCharacters() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
getLastStartElement
-
getLocationHint
public java.lang.String getLocationHint()
-