-
- All Superinterfaces:
javax.xml.stream.events.XMLEvent,javax.xml.stream.XMLStreamConstants
public interface ExtendedXMLEvent extends javax.xml.stream.events.XMLEventExtendedXMLEventinterface that provides additional functionality.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanmatches(javax.xml.stream.events.XMLEvent event)Determines if this event matches another event, irrespective of document location.voidwriteEvent(javax.xml.stream.XMLStreamWriter writer)Writes the event to the providedXMLStreamWriter.-
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
-
matches
boolean matches(javax.xml.stream.events.XMLEvent event)
Determines if this event matches another event, irrespective of document location.- Parameters:
event- The event to match against.- Returns:
trueif the two events match,falseotherwise.
-
writeEvent
void writeEvent(javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamExceptionWrites the event to the providedXMLStreamWriter.- Parameters:
writer- The destination stream.- Throws:
javax.xml.stream.XMLStreamException- If an error occurs writing to the destination stream.
-
-