Package com.fasterxml.aalto.evt
Class IncompleteEvent
- java.lang.Object
-
- org.codehaus.stax2.ri.evt.BaseEventImpl
-
- com.fasterxml.aalto.evt.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.BaseEventImplBogusXMLEventreturned 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 IncompleteEventINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description protectedIncompleteEvent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)intgetEventType()inthashCode()static IncompleteEventinstance()voidwriteAsEncodedUnicode(java.io.Writer w)voidwriteUsing(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
-
-
-
-
Field Detail
-
INSTANCE
private static final IncompleteEvent INSTANCE
-
-
Method Detail
-
instance
public static IncompleteEvent instance()
-
getEventType
public int getEventType()
- Specified by:
getEventTypein interfacejavax.xml.stream.events.XMLEvent- Specified by:
getEventTypein classorg.codehaus.stax2.ri.evt.BaseEventImpl
-
writeAsEncodedUnicode
public void writeAsEncodedUnicode(java.io.Writer w) throws javax.xml.stream.XMLStreamException- Specified by:
writeAsEncodedUnicodein interfacejavax.xml.stream.events.XMLEvent- Specified by:
writeAsEncodedUnicodein classorg.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:
writeUsingin interfaceorg.codehaus.stax2.evt.XMLEvent2- Specified by:
writeUsingin classorg.codehaus.stax2.ri.evt.BaseEventImpl- Throws:
javax.xml.stream.XMLStreamException
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equalsin classorg.codehaus.stax2.ri.evt.BaseEventImpl
-
hashCode
public int hashCode()
- Specified by:
hashCodein classorg.codehaus.stax2.ri.evt.BaseEventImpl
-
-