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.BaseEventImpl
BogusXMLEvent
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
-
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
-
-
-
-
Field Detail
-
INSTANCE
private static final IncompleteEvent INSTANCE
-
-
Method Detail
-
instance
public static IncompleteEvent instance()
-
getEventType
public int getEventType()
- Specified by:
getEventType
in interfacejavax.xml.stream.events.XMLEvent
- Specified by:
getEventType
in classorg.codehaus.stax2.ri.evt.BaseEventImpl
-
writeAsEncodedUnicode
public void writeAsEncodedUnicode(java.io.Writer w) throws javax.xml.stream.XMLStreamException
- Specified by:
writeAsEncodedUnicode
in interfacejavax.xml.stream.events.XMLEvent
- Specified by:
writeAsEncodedUnicode
in 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:
writeUsing
in interfaceorg.codehaus.stax2.evt.XMLEvent2
- Specified by:
writeUsing
in classorg.codehaus.stax2.ri.evt.BaseEventImpl
- Throws:
javax.xml.stream.XMLStreamException
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in classorg.codehaus.stax2.ri.evt.BaseEventImpl
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classorg.codehaus.stax2.ri.evt.BaseEventImpl
-
-