Interface XMLEvent

All Superinterfaces:
XMLStreamConstants
All Known Subinterfaces:
Attribute, Characters, Comment, DTD, EndDocument, EndElement, EntityDeclaration, EntityReference, Namespace, NotationDeclaration, ProcessingInstruction, StartDocument, StartElement

public interface XMLEvent extends XMLStreamConstants
  • Method Details

    • asCharacters

      Characters asCharacters()
    • asEndElement

      EndElement asEndElement()
    • asStartElement

      StartElement asStartElement()
    • getEventType

      int getEventType()
    • getLocation

      Location getLocation()
    • getSchemaType

      QName getSchemaType()
    • isAttribute

      boolean isAttribute()
    • isCharacters

      boolean isCharacters()
    • isEndDocument

      boolean isEndDocument()
    • isEndElement

      boolean isEndElement()
    • isEntityReference

      boolean isEntityReference()
    • isNamespace

      boolean isNamespace()
    • isProcessingInstruction

      boolean isProcessingInstruction()
    • isStartDocument

      boolean isStartDocument()
    • isStartElement

      boolean isStartElement()
    • writeAsEncodedUnicode

      void writeAsEncodedUnicode(java.io.Writer writer) throws XMLStreamException
      Throws:
      XMLStreamException