APIdia Launch Partner
Top Description Methods
javax.xml.stream.events

public Interface EndElement

extends XMLEvent
Known Direct Implementers
com.sun.xml.internal.stream.events.EndElementEvent
Imports
java.util.Iterator, javax.xml.namespace.QName

An interface for the end element event. An EndElement is reported for each End Tag in the document.
Author
Copyright (c) 2009 by Oracle Corporation. All Rights Reserved.
Since
1.6
Version
1.0
See Also
XMLEvent

Method Summary

Modifier and TypeMethod and Description
public QName

Returns:

the qualified name of this event
getName
()

Get the name of this event

public Iterator<Namespace>

Returns:

an Iterator over Namespace interfaces, or an empty iterator
getNamespaces
()

Returns an Iterator of namespaces that have gone out of scope.

Inherited from javax.xml.stream.events.XMLEvent:
asCharactersasEndElementasStartElementgetEventTypegetLocationgetSchemaTypeisAttributeisCharactersisEndDocumentisEndElementisEntityReferenceisNamespaceisProcessingInstructionisStartDocumentisStartElementwriteAsEncodedUnicode

Method Detail

getNameback to summary
public QName getName()

Get the name of this event

Returns:QName

the qualified name of this event

getNamespacesback to summary
public Iterator<Namespace> getNamespaces()

Returns an Iterator of namespaces that have gone out of scope. Returns an empty iterator if no namespaces have gone out of scope.

Returns:Iterator<Namespace>

an Iterator over Namespace interfaces, or an empty iterator