| Modifier and Type | Field and Description |
|---|---|
| private int | fEventType
Constant representing the type of this event. |
| private Location | fLocation
Location object for this event. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final Characters | asCharacters()
Implements javax. |
| public final EndElement | asEndElement()
Implements javax. |
| public final StartElement | asStartElement()
Implements javax. |
| public final int | getEventType()
Implements javax. |
| public final Location | getLocation()
Implements javax. |
| public final QName | getSchemaType()
Implements javax. |
| public final boolean | isAttribute()
Implements javax. |
| public final boolean | isCharacters()
Implements javax. |
| public final boolean | isEndDocument()
Implements javax. |
| public final boolean | isEndElement()
Implements javax. |
| public final boolean | isEntityReference()
Implements javax. |
| public final boolean | isNamespace()
Implements javax. |
| public final boolean | isProcessingInstruction()
Implements javax. |
| public final boolean | isStartDocument()
Implements javax. |
| public final boolean | isStartElement()
Implements javax. |
| public final String |
| fEventType | back to summary |
|---|---|
| private int fEventType Constant representing the type of this event.
| |
| fLocation | back to summary |
|---|---|
| private Location fLocation Location object for this event. | |
| XMLEventImpl | back to summary |
|---|---|
| pack-priv XMLEventImpl(final int eventType, final Location location) Constructor. | |
| asCharacters | back to summary |
|---|---|
| public final Characters asCharacters() Implements javax. Doc from javax. Returns this event as Characters, may result in a class cast exception if this event is not Characters.
| |
| asEndElement | back to summary |
|---|---|
| public final EndElement asEndElement() Implements javax. Doc from 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 final StartElement asStartElement() Implements javax. Doc from 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 final int getEventType() Implements javax. Doc from javax. Returns an integer code for this event.
| |
| getLocation | back to summary |
|---|---|
| public final Location getLocation() Implements javax. Doc from 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 final QName getSchemaType() Implements javax. Doc from 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.
| |
| isAttribute | back to summary |
|---|---|
| public final boolean isAttribute() Implements javax. Doc from javax. A utility function to check if this event is an Attribute.
| |
| isCharacters | back to summary |
|---|---|
| public final boolean isCharacters() Implements javax. Doc from javax. A utility function to check if this event is Characters.
| |
| isEndDocument | back to summary |
|---|---|
| public final boolean isEndDocument() Implements javax. Doc from javax. A utility function to check if this event is an EndDocument.
| |
| isEndElement | back to summary |
|---|---|
| public final boolean isEndElement() Implements javax. Doc from javax. A utility function to check if this event is a EndElement.
| |
| isEntityReference | back to summary |
|---|---|
| public final boolean isEntityReference() Implements javax. Doc from javax. A utility function to check if this event is an EntityReference.
| |
| isNamespace | back to summary |
|---|---|
| public final boolean isNamespace() Implements javax. Doc from javax. A utility function to check if this event is a Namespace.
| |
| isProcessingInstruction | back to summary |
|---|---|
| public final boolean isProcessingInstruction() Implements javax. Doc from javax. A utility function to check if this event is a ProcessingInstruction.
| |
| isStartDocument | back to summary |
|---|---|
| public final boolean isStartDocument() Implements javax. Doc from javax. A utility function to check if this event is a StartDocument.
| |
| isStartElement | back to summary |
|---|---|
| public final boolean isStartElement() Implements javax. Doc from javax. A utility function to check if this event is a StartElement.
| |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |