Package org.codehaus.stax2.evt
Interface XMLEvent2
-
- All Superinterfaces:
javax.xml.stream.events.XMLEvent,javax.xml.stream.XMLStreamConstants
- All Known Implementing Classes:
AttributeEventImpl,BaseEventImpl,CharactersEventImpl,CommentEventImpl,DTDEventImpl,EndDocumentEventImpl,EndElementEventImpl,EntityDeclarationEventImpl,EntityReferenceEventImpl,NamespaceEventImpl,NotationDeclarationEventImpl,ProcInstrEventImpl,StartDocumentEventImpl,StartElementEventImpl
public interface XMLEvent2 extends javax.xml.stream.events.XMLEventInterface that extends basicXMLEvent2with 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwriteUsing(XMLStreamWriter2 w)-
Methods inherited from interface javax.xml.stream.events.XMLEvent
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
-
-
-
-
Method Detail
-
writeUsing
void writeUsing(XMLStreamWriter2 w) throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
-
-