Top Fields Constructors Methods
com.sun.xml.fastinfoset.stax.events

public Class EndElementEvent

extends EventBase
implements EndElement
Class Inheritance
All Implemented Interfaces
javax.xml.stream.events.EndElement, javax.xml.stream.events.XMLEvent, javax.xml.stream.XMLStreamConstants
Imports
java.util.ArrayList, .Iterator, .List, javax.xml.namespace.QName, javax.xml.stream.events.EndElement, .Namespace

Field Summary

Modifier and TypeField and Description
pack-priv List<Namespace>
pack-priv QName
Inherited from com.sun.xml.fastinfoset.stax.events.EventBase:
_eventType_location

Constructor Summary

AccessConstructor and Description
public
public
EndElementEvent(String prefix, String namespaceURI, String localpart)

public

Method Summary

Modifier and TypeMethod and Description
public void
public QName

Returns:

the qualified name of this event
getName
()

Implements javax.xml.stream.events.EndElement.getName.

Get the name of this event

public Iterator<Namespace>

Returns:

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

Implements javax.xml.stream.events.EndElement.getNamespaces.

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

private QName
getQName(String uri, String localPart, String prefix)

private String
public void
public void
setName(QName qname)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from com.sun.xml.fastinfoset.stax.events.EventBase:
asCharactersasEndElementasStartElementgetEventTypegetLocationgetSchemaTypegetSystemIdisAttributeisCharactersisEndDocumentisEndElementisEntityReferenceisNamespaceisProcessingInstructionisStartDocumentisStartElementsetEventTypesetLocationwriteAsEncodedUnicode

Field Detail

_namespacesback to summary
pack-priv List<Namespace> _namespaces
_qnameback to summary
pack-priv QName _qname

Constructor Detail

EndElementEventback to summary
public EndElementEvent()
Annotations
@SuppressWarnings:this-escape
EndElementEventback to summary
public EndElementEvent(String prefix, String namespaceURI, String localpart)
Annotations
@SuppressWarnings:this-escape
EndElementEventback to summary
public EndElementEvent(QName qname)
Annotations
@SuppressWarnings:this-escape

Method Detail

addNamespaceback to summary
public void addNamespace(Namespace namespace)
getNameback to summary
public QName getName()

Implements javax.xml.stream.events.EndElement.getName.

Get the name of this event

Returns:QName

the qualified name of this event

Annotations
@Override
getNamespacesback to summary
public Iterator<Namespace> getNamespaces()

Implements javax.xml.stream.events.EndElement.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

Annotations
@Override
getQNameback to summary
private QName getQName(String uri, String localPart, String prefix)
nameAsStringback to summary
private String nameAsString()
resetback to summary
public void reset()
setNameback to summary
public void setName(QName qname)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override