Class IncompleteEvent

java.lang.Object
org.codehaus.stax2.ri.evt.BaseEventImpl
com.fasterxml.aalto.evt.IncompleteEvent
All Implemented Interfaces:
XMLEvent, XMLStreamConstants, org.codehaus.stax2.evt.XMLEvent2

public class IncompleteEvent extends org.codehaus.stax2.ri.evt.BaseEventImpl
Bogus XMLEvent returned when the next event is not yet available, in case of non-blocking (async) parsing.
  • Field Details

  • Constructor Details

    • IncompleteEvent

      protected IncompleteEvent()
  • Method Details

    • instance

      public static IncompleteEvent instance()
    • getEventType

      public int getEventType()
      Specified by:
      getEventType in interface XMLEvent
      Specified by:
      getEventType in class org.codehaus.stax2.ri.evt.BaseEventImpl
    • writeAsEncodedUnicode

      public void writeAsEncodedUnicode(Writer w) throws XMLStreamException
      Specified by:
      writeAsEncodedUnicode in interface XMLEvent
      Specified by:
      writeAsEncodedUnicode in class org.codehaus.stax2.ri.evt.BaseEventImpl
      Throws:
      XMLStreamException
    • writeUsing

      public void writeUsing(org.codehaus.stax2.XMLStreamWriter2 w) throws XMLStreamException
      Specified by:
      writeUsing in interface org.codehaus.stax2.evt.XMLEvent2
      Specified by:
      writeUsing in class org.codehaus.stax2.ri.evt.BaseEventImpl
      Throws:
      XMLStreamException
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in class org.codehaus.stax2.ri.evt.BaseEventImpl
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class org.codehaus.stax2.ri.evt.BaseEventImpl