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 XMLEvent
public EndElement asEndElement()
asEndElement
in interface XMLEvent
public StartElement asStartElement()
asStartElement
in interface XMLEvent
public abstract int getEventType()
getEventType
in interface XMLEvent
public Location getLocation()
getLocation
in interface XMLEvent
public javax.xml.namespace.QName getSchemaType()
getSchemaType
in interface XMLEvent
public boolean isAttribute()
isAttribute
in interface XMLEvent
public boolean isCharacters()
isCharacters
in interface XMLEvent
public boolean isEndDocument()
isEndDocument
in interface XMLEvent
public boolean isEndElement()
isEndElement
in interface XMLEvent
public boolean isEntityReference()
isEntityReference
in interface XMLEvent
public boolean isNamespace()
isNamespace
in interface XMLEvent
public boolean isProcessingInstruction()
isProcessingInstruction
in interface XMLEvent
public boolean isStartDocument()
isStartDocument
in interface XMLEvent
public boolean isStartElement()
isStartElement
in interface XMLEvent
public abstract void writeAsEncodedUnicode(java.io.Writer writer) throws XMLStreamException
writeAsEncodedUnicode
in interface XMLEvent
XMLStreamException