| Modifier and Type | Field and Description |
|---|---|
| protected int | |
| protected Location |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public Characters | asCharacters()
Implements javax. Returns this event as Characters, may result in a class cast exception if this event is not Characters. |
| public EndElement | asEndElement()
Implements javax. Returns this event as an end element event, may result in a class cast exception if this event is not a end element. |
| public StartElement | asStartElement()
Implements javax. Returns this event as a start element event, may result in a class cast exception if this event is not a start element. |
| public int | getEventType()
Implements javax. Returns an integer code for this event. |
| private String | |
| public Location | getLocation()
Implements javax. Return the location of this event. |
| public QName | getSchemaType()
Implements javax. This method is provided for implementations to provide optional type information about the associated event. |
| public String | |
| public boolean | isAttribute()
Implements javax. A utility function to check if this event is an Attribute. |
| public boolean | isCharacters()
Implements javax. A utility function to check if this event is Characters. |
| public boolean | isEndDocument()
Implements javax. A utility function to check if this event is an EndDocument. |
| public boolean | isEndElement()
Implements javax. A utility function to check if this event is a EndElement. |
| public boolean | isEntityReference()
Implements javax. A utility function to check if this event is an EntityReference. |
| public boolean | isNamespace()
Implements javax. A utility function to check if this event is a Namespace. |
| public boolean | isProcessingInstruction()
Implements javax. A utility function to check if this event is a ProcessingInstruction. |
| public boolean | isStartDocument()
Implements javax. A utility function to check if this event is a StartDocument. |
| public boolean | isStartElement()
Implements javax. A utility function to check if this event is a StartElement. |
| protected final void | |
| public void | |
| public void | writeAsEncodedUnicode(Writer
The writer that will output the data writer)Implements javax. This method will write the XMLEvent as per the XML 1.0 specification as Unicode characters. |
| _eventType | back to summary |
|---|---|
| protected int _eventType | |
| _location | back to summary |
|---|---|
| protected Location _location | |
| EventBase | back to summary |
|---|---|
| protected EventBase() | |
| EventBase | back to summary |
|---|---|
| protected EventBase(int eventType) | |
| asCharacters | back to summary |
|---|---|
| public Characters asCharacters() Implements javax. Returns this event as Characters, may result in a class cast exception if this event is not Characters.
| |
| asEndElement | back to summary |
|---|---|
| public EndElement asEndElement() Implements javax. Returns this event as an end element event, may result in a class cast exception if this event is not a end element.
| |
| asStartElement | back to summary |
|---|---|
| public StartElement asStartElement() Implements javax. Returns this event as a start element event, may result in a class cast exception if this event is not a start element.
| |
| getEventType | back to summary |
|---|---|
| public int getEventType() Implements javax. Returns an integer code for this event.
| |
| getEventTypeString | back to summary |
|---|---|
| private String getEventTypeString() | |
| getLocation | back to summary |
|---|---|
| public Location getLocation() Implements javax. Return the location of this event. The Location returned from this method is non-volatile and will retain its information.
| |
| getSchemaType | back to summary |
|---|---|
| public QName getSchemaType() Implements javax. This method is provided for implementations to provide optional type information about the associated event. It is optional and will return null if no information is available.
| |
| getSystemId | back to summary |
|---|---|
| public String getSystemId() | |
| isAttribute | back to summary |
|---|---|
| public boolean isAttribute() Implements javax. A utility function to check if this event is an Attribute.
| |
| isCharacters | back to summary |
|---|---|
| public boolean isCharacters() Implements javax. A utility function to check if this event is Characters.
| |
| isEndDocument | back to summary |
|---|---|
| public boolean isEndDocument() Implements javax. Doc from javax. A utility function to check if this event is an EndDocument.
| |
| isEndElement | back to summary |
|---|---|
| public boolean isEndElement() Implements javax. Doc from javax. A utility function to check if this event is a EndElement.
| |
| isEntityReference | back to summary |
|---|---|
| public boolean isEntityReference() Implements javax. Doc from javax. A utility function to check if this event is an EntityReference.
| |
| isNamespace | back to summary |
|---|---|
| public boolean isNamespace() Implements javax. A utility function to check if this event is a Namespace.
| |
| isProcessingInstruction | back to summary |
|---|---|
| public boolean isProcessingInstruction() Implements javax. Doc from javax. A utility function to check if this event is a ProcessingInstruction.
| |
| isStartDocument | back to summary |
|---|---|
| public boolean isStartDocument() Implements javax. Doc from javax. A utility function to check if this event is a StartDocument.
| |
| isStartElement | back to summary |
|---|---|
| public boolean isStartElement() Implements javax. Doc from javax. A utility function to check if this event is a StartElement.
| |
| setEventType | back to summary |
|---|---|
| protected final void setEventType(int eventType) | |
| setLocation | back to summary |
|---|---|
| public void setLocation(Location loc) | |
| writeAsEncodedUnicode | back to summary |
|---|---|
| public void writeAsEncodedUnicode(Writer writer) throws XMLStreamException Implements javax. This method will write the XMLEvent as per the XML 1.0 specification as Unicode characters. No indentation or whitespace should be outputted. Any user defined event type SHALL have this method called when being written to on an output stream. Built in Event types MUST implement this method, but implementations MAY choose not call these methods for optimizations reasons when writing out built in Events to an output stream. The output generated MUST be equivalent in terms of the infoset expressed.
| |