Interface XMLEvent2

All Superinterfaces:
XMLEvent, XMLStreamConstants
All Known Implementing Classes:
AttributeEventImpl, BaseEventImpl, CharactersEventImpl, CommentEventImpl, DTDEventImpl, EndDocumentEventImpl, EndElementEventImpl, EntityDeclarationEventImpl, EntityReferenceEventImpl, NamespaceEventImpl, NotationDeclarationEventImpl, ProcInstrEventImpl, StartDocumentEventImpl, StartElementEventImpl

public interface XMLEvent2 extends XMLEvent
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.