public abstract class XMLEventImpl extends java.lang.Object implements XMLEvent
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT| Constructor and Description |
|---|
XMLEventImpl() |
| Modifier and Type | Method and Description |
|---|---|
Characters |
asCharacters() |
EndElement |
asEndElement() |
StartElement |
asStartElement() |
abstract int |
getEventType() |
Location |
getLocation() |
javax.xml.namespace.QName |
getSchemaType() |
boolean |
isAttribute() |
boolean |
isCharacters() |
boolean |
isEndDocument() |
boolean |
isEndElement() |
boolean |
isEntityReference() |
boolean |
isNamespace() |
boolean |
isProcessingInstruction() |
boolean |
isStartDocument() |
boolean |
isStartElement() |
abstract void |
writeAsEncodedUnicode(java.io.Writer writer) |
public Characters asCharacters()
asCharacters in interface XMLEventpublic EndElement asEndElement()
asEndElement in interface XMLEventpublic StartElement asStartElement()
asStartElement in interface XMLEventpublic abstract int getEventType()
getEventType in interface XMLEventpublic Location getLocation()
getLocation in interface XMLEventpublic javax.xml.namespace.QName getSchemaType()
getSchemaType in interface XMLEventpublic boolean isAttribute()
isAttribute in interface XMLEventpublic boolean isCharacters()
isCharacters in interface XMLEventpublic boolean isEndDocument()
isEndDocument in interface XMLEventpublic boolean isEndElement()
isEndElement in interface XMLEventpublic boolean isEntityReference()
isEntityReference in interface XMLEventpublic boolean isNamespace()
isNamespace in interface XMLEventpublic boolean isProcessingInstruction()
isProcessingInstruction in interface XMLEventpublic boolean isStartDocument()
isStartDocument in interface XMLEventpublic boolean isStartElement()
isStartElement in interface XMLEventpublic abstract void writeAsEncodedUnicode(java.io.Writer writer)
throws XMLStreamException
writeAsEncodedUnicode in interface XMLEventXMLStreamException