public static class XMLStreamEvents.Event extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
XMLStreamEvents.Event.Type
Type of event.
|
| Modifier and Type | Field and Description |
|---|---|
LinkedList<XMLStreamEvents.Attribute> |
attributes
When type if START_ELEMENT, it contains the list of attributes.
|
LinkedList<XMLStreamEvents.ElementContext> |
context
Current context with elements' names of the current hierarchy and namespaces declaration.
|
boolean |
isClosed
When type if START_ELEMENT, it specifies if it is an empty-element.
|
UnprotectedStringBuffer |
localName
On START_ELEMENT or END_ELEMENT events, it contains the local name part of the text.
|
UnprotectedStringBuffer |
namespacePrefix
On START_ELEMENT or END_ELEMENT events, it contains the namespace part of the text.
|
UnprotectedStringBuffer |
namespaceURI
On START_ELEMENT or END_ELEMENT events, it contains the namespace URI correpsonding to the prefix.
|
UnprotectedStringBuffer |
publicId
Public ID specified in the DOCTYPE tag.
|
UnprotectedStringBuffer |
system
System specified in the DOCTYPE tag.
|
UnprotectedStringBuffer |
text
Text read, depending of the node type.
|
XMLStreamEvents.Event.Type |
type
Type of current node.
|
| Constructor and Description |
|---|
Event() |
public XMLStreamEvents.Event.Type type
public UnprotectedStringBuffer text
public UnprotectedStringBuffer namespacePrefix
public UnprotectedStringBuffer namespaceURI
public UnprotectedStringBuffer localName
public boolean isClosed
public LinkedList<XMLStreamEvents.Attribute> attributes
public UnprotectedStringBuffer system
public UnprotectedStringBuffer publicId
public LinkedList<XMLStreamEvents.ElementContext> context
public XMLStreamEvents.Event copy()
Copyright © 2019. All rights reserved.