Class IncompleteEvent

  • All Implemented Interfaces:
    javax.xml.stream.events.XMLEvent, javax.xml.stream.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 Summary

      Fields 
      Modifier and Type Field Description
      private static IncompleteEvent INSTANCE  
      • Fields inherited from class org.codehaus.stax2.ri.evt.BaseEventImpl

        mLocation
      • Fields inherited from interface javax.xml.stream.XMLStreamConstants

        ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected IncompleteEvent()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int getEventType()  
      int hashCode()  
      static IncompleteEvent instance()  
      void writeAsEncodedUnicode​(java.io.Writer w)  
      void writeUsing​(org.codehaus.stax2.XMLStreamWriter2 w)  
      • Methods inherited from class org.codehaus.stax2.ri.evt.BaseEventImpl

        addHash, asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, iteratedEquals, stringsWithNullsEqual, throwFromIOE, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IncompleteEvent

        protected IncompleteEvent()
    • Method Detail

      • getEventType

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

        public void writeAsEncodedUnicode​(java.io.Writer w)
                                   throws javax.xml.stream.XMLStreamException
        Specified by:
        writeAsEncodedUnicode in interface javax.xml.stream.events.XMLEvent
        Specified by:
        writeAsEncodedUnicode in class org.codehaus.stax2.ri.evt.BaseEventImpl
        Throws:
        javax.xml.stream.XMLStreamException
      • writeUsing

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

        public boolean equals​(java.lang.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