| Modifier and Type | Field and Description |
|---|---|
| protected final QName | |
| protected final ArrayList |
| Access | Constructor and Description |
|---|---|
| public | EndElementEventImpl(Location loc, XMLStreamReader r)
Constructor usually used when reading events from a stream reader. |
| public | EndElementEventImpl(Location loc, QName name, Iterator<Namespace> namespaces)
Constructor used by the event factory. |
| Modifier and Type | Method and Description |
|---|---|
| public EndElement | asEndElement()
Overrides org. Implements javax. |
| public boolean | equals(Object
the reference object with which to compare. o)Implements abstract org. |
| public int | getEventType()
Implements abstract org. Implements javax. |
| public QName | |
| public Iterator | getNamespaces()
Implements javax. |
| public int | hashCode()
Implements abstract org. |
| public boolean | isEndElement()
Overrides org. Implements javax. |
| public void | writeAsEncodedUnicode(Writer
The writer that will output the data w)Implements abstract org. Implements javax. |
| public void | writeUsing(XMLStreamWriter2 w)
Implements abstract org. Implements org. |
| mName | back to summary |
|---|---|
| protected final QName mName | |
| mNamespaces | back to summary |
|---|---|
| protected final ArrayList<Namespace> mNamespaces | |
| EndElementEventImpl | back to summary |
|---|---|
| public EndElementEventImpl(Location loc, XMLStreamReader r) Constructor usually used when reading events from a stream reader. | |
| EndElementEventImpl | back to summary |
|---|---|
| public EndElementEventImpl(Location loc, QName name, Iterator<Namespace> namespaces) Constructor used by the event factory. | |
| asEndElement | back to summary |
|---|---|
| public EndElement asEndElement() Overrides org. 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.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Implements abstract org. Doc from org. Declared abstract to force redefinition by sub-classes
| |
| getEventType | back to summary |
|---|---|
| public int getEventType() Implements abstract org. Implements javax. Doc from javax. Returns an integer code for this event.
| |
| getName | back to summary |
|---|---|
| public QName getName() Implements javax. Doc from javax. Get the name of this event | |
| getNamespaces | back to summary |
|---|---|
| public Iterator Implements javax. Doc from javax. Returns an Iterator of namespaces that have gone out of scope. Returns an empty iterator if no namespaces have gone out of scope. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract org. Doc from org. Declared abstract to force redefinition by sub-classes
| |
| isEndElement | back to summary |
|---|---|
| public boolean isEndElement() Overrides org. Implements javax. Doc from javax. A utility function to check if this event is a EndElement.
| |
| writeAsEncodedUnicode | back to summary |
|---|---|
| public void writeAsEncodedUnicode(Writer w) throws XMLStreamException Implements abstract org. Implements javax. Doc from 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.
| |
| writeUsing | back to summary |
|---|---|
| public void writeUsing(XMLStreamWriter2 w) throws XMLStreamException Implements abstract org. Implements org.
| |