org.codehaus.stax2.evt
public interface XMLEvent2 extends javax.xml.stream.events.XMLEvent
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.
Modifier and Type | Method and Description |
---|---|
void |
writeUsing(javax.xml.stream.XMLStreamWriter w) |
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode