Java javax.xml.stream.events XMLEvent fields, constructors, methods, implement or subclass

Example usage for Java javax.xml.stream.events XMLEvent fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.xml.stream.events XMLEvent.

The text is from its open source code.

Method

CharactersasCharacters()
Returns this event as Characters, may result in a class cast exception if this event is not Characters.
EndElementasEndElement()
Returns this event as an end element event, may result in a class cast exception if this event is not a end element.
StartElementasStartElement()
Returns this event as a start element event, may result in a class cast exception if this event is not a start element.
ClassgetClass()
Returns the runtime class of this Object .
intgetEventType()
Returns an integer code for this event.
javax.xml.stream.LocationgetLocation()
Return the location of this event.
booleanisAttribute()
A utility function to check if this event is an Attribute.
booleanisCharacters()
A utility function to check if this event is Characters.
booleanisEndDocument()
A utility function to check if this event is an EndDocument.
booleanisEndElement()
A utility function to check if this event is a EndElement.
booleanisProcessingInstruction()
A utility function to check if this event is a ProcessingInstruction.
booleanisStartDocument()
A utility function to check if this event is a StartDocument.
booleanisStartElement()
A utility function to check if this event is a StartElement.
StringtoString()
Returns a string representation of the object.
voidwriteAsEncodedUnicode(Writer writer)
This method will write the XMLEvent as per the XML 1.0 specification as Unicode characters.