Example usage for Java javax.xml.stream.events XMLEvent fields, constructors, methods, implement or subclass
The text is from its open source code.
Characters | asCharacters() Returns this event as Characters, may result in a class cast exception if this event is not Characters. |
EndElement | asEndElement() Returns this event as an end element event, may result in a class cast exception if this event is not a end element. |
StartElement | asStartElement() Returns this event as a start element event, may result in a class cast exception if this event is not a start element. |
Class> | getClass() Returns the runtime class of this Object . |
int | getEventType() Returns an integer code for this event. |
javax.xml.stream.Location | getLocation() Return the location of this event. |
boolean | isAttribute() A utility function to check if this event is an Attribute. |
boolean | isCharacters() A utility function to check if this event is Characters. |
boolean | isEndDocument() A utility function to check if this event is an EndDocument. |
boolean | isEndElement() A utility function to check if this event is a EndElement. |
boolean | isProcessingInstruction() A utility function to check if this event is a ProcessingInstruction. |
boolean | isStartDocument() A utility function to check if this event is a StartDocument. |
boolean | isStartElement() A utility function to check if this event is a StartElement. |
String | toString() Returns a string representation of the object. |
void | writeAsEncodedUnicode(Writer writer) This method will write the XMLEvent as per the XML 1.0 specification as Unicode characters. |