|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XMLEvent
An XML stream event.
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 | |
---|---|
Characters |
asCharacters()
Returns this event as a text event. |
EndElement |
asEndElement()
Returns this event as an end-element event. |
StartElement |
asStartElement()
Returns this event as a start-element event. |
int |
getEventType()
Returns the type of this event. |
Location |
getLocation()
Returns the location of this event. |
QName |
getSchemaType()
Returns schema-related type information about this event, or null if not available. |
boolean |
isAttribute()
Indicates whether this event is an attribute event. |
boolean |
isCharacters()
Indicates whether this event is a text event. |
boolean |
isEndDocument()
Indicates whether this event is an end-document event. |
boolean |
isEndElement()
Indicates whether this event is an end-element event. |
boolean |
isEntityReference()
Indicates whether this event is an entity reference event. |
boolean |
isNamespace()
Indicates whether this event is a namespace declaration event. |
boolean |
isProcessingInstruction()
Indicates whether this event is a processing instruction event. |
boolean |
isStartDocument()
Indicates whether this event is a start-document event. |
boolean |
isStartElement()
Indicates whether this event is a start-element event. |
void |
writeAsEncodedUnicode(Writer writer)
Writes this event to the specified writer. |
Method Detail |
---|
int getEventType()
Location getLocation()
boolean isStartElement()
boolean isAttribute()
boolean isNamespace()
boolean isEndElement()
boolean isEntityReference()
boolean isProcessingInstruction()
boolean isCharacters()
boolean isStartDocument()
boolean isEndDocument()
StartElement asStartElement()
EndElement asEndElement()
Characters asCharacters()
QName getSchemaType()
void writeAsEncodedUnicode(Writer writer) throws XMLStreamException
XMLStreamException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |