Top Description Methods
org.codehaus.stax2.evt

public Interface XMLEvent2

extends XMLEvent
Known Direct Implementers
org.codehaus.stax2.ri.evt.BaseEventImpl
Imports
javax.xml.stream.XMLStreamException, javax.xml.stream.events.XMLEvent, org.codehaus.stax2.XMLStreamWriter2

Interface that extends basic XMLEvent2 with method(s) that are missing from it; specifically linkage that allows using a stream/event writer for outputting.

Note

Unfortunately there is no way to cleanly retrofit this interface to actual implementation classes, so some casting is necessary to make use of new features.

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from javax.xml.stream.events.XMLEvent:
asCharactersasEndElementasStartElementgetEventTypegetLocationgetSchemaTypeisAttributeisCharactersisEndDocumentisEndElementisEntityReferenceisNamespaceisProcessingInstructionisStartDocumentisStartElementwriteAsEncodedUnicode

Method Detail

writeUsingback to summary
public void writeUsing(XMLStreamWriter2 w) throws XMLStreamException