Package javax.xml.stream.events
Interface XMLEvent
- All Superinterfaces:
XMLStreamConstants
- All Known Subinterfaces:
Attribute
,Characters
,Comment
,DTD
,EndDocument
,EndElement
,EntityDeclaration
,EntityReference
,Namespace
,NotationDeclaration
,ProcessingInstruction
,StartDocument
,StartElement
-
Field Summary
Fields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
writeAsEncodedUnicode
(Writer writer)
-
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
- Throws:
XMLStreamException
-