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 Details

    • PullableEventStream

      public PullableEventStream​(de.bsvrz.sys.funclib.concurrent.BufferedQueue<Event> queue) throws java.lang.InterruptedException
      Throws:
      java.lang.InterruptedException
  • Method Details

    • pullAnyEvent

      public Event pullAnyEvent() throws java.lang.InterruptedException
      Throws:
      java.lang.InterruptedException
    • pullNonIgnorableEvent

      public Event pullNonIgnorableEvent() throws java.lang.InterruptedException
      Throws:
      java.lang.InterruptedException
    • pullStartElement

      public StartElementEvent pullStartElement() throws java.lang.InterruptedException, org.xml.sax.SAXException
      Throws:
      java.lang.InterruptedException
      org.xml.sax.SAXException
    • pullStartElement

      public StartElementEvent pullStartElement​(java.lang.String tag) throws java.lang.InterruptedException, org.xml.sax.SAXException
      Throws:
      java.lang.InterruptedException
      org.xml.sax.SAXException
    • pullEndElement

      public EndElementEvent pullEndElement() throws java.lang.InterruptedException, org.xml.sax.SAXException
      Throws:
      java.lang.InterruptedException
      org.xml.sax.SAXException
    • pullEndElement

      public EndElementEvent pullEndElement​(java.lang.String tag) throws java.lang.InterruptedException, org.xml.sax.SAXException
      Throws:
      java.lang.InterruptedException
      org.xml.sax.SAXException
    • pullCharacters

      public CharactersEvent pullCharacters() throws java.lang.InterruptedException, org.xml.sax.SAXException
      Throws:
      java.lang.InterruptedException
      org.xml.sax.SAXException
    • pullIgnorableCharacters

      public IgnorableCharactersEvent pullIgnorableCharacters() throws java.lang.InterruptedException, org.xml.sax.SAXException
      Throws:
      java.lang.InterruptedException
      org.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

      public StartElementEvent getLastStartElement()
    • getLocationHint

      public java.lang.String getLocationHint()