com.sun.xml.fastinfoset.stax.events
Class EndElementEvent

java.lang.Object
  extended bycom.sun.xml.fastinfoset.stax.events.EventBase
      extended bycom.sun.xml.fastinfoset.stax.events.EndElementEvent
All Implemented Interfaces:
javax.xml.stream.events.EndElement, javax.xml.stream.events.XMLEvent, javax.xml.stream.XMLStreamConstants

public class EndElementEvent
extends EventBase
implements javax.xml.stream.events.EndElement


Field Summary
 
Fields inherited from class com.sun.xml.fastinfoset.stax.events.EventBase
_eventType, _location
 
Fields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
 
Constructor Summary
EndElementEvent()
           
EndElementEvent(QName qname)
           
EndElementEvent(java.lang.String namespaceURI, java.lang.String localpart, java.lang.String prefix)
           
 
Method Summary
 void addNamespace(javax.xml.stream.events.Namespace namespace)
           
 QName getName()
          Get the name of this event
 java.util.Iterator getNamespaces()
          Returns an Iterator of namespaces that have gone out of scope.
 void reset()
           
 void setName(QName qname)
           
 java.lang.String toString()
           
 
Methods inherited from class com.sun.xml.fastinfoset.stax.events.EventBase
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, getSystemId, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, setEventType, setLocation, writeAsEncodedUnicode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.xml.stream.events.XMLEvent
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
 

Constructor Detail

EndElementEvent

public EndElementEvent()

EndElementEvent

public EndElementEvent(java.lang.String namespaceURI,
                       java.lang.String localpart,
                       java.lang.String prefix)

EndElementEvent

public EndElementEvent(QName qname)
Method Detail

reset

public void reset()

getName

public QName getName()
Get the name of this event

Specified by:
getName in interface javax.xml.stream.events.EndElement
Returns:
the qualified name of this event

setName

public void setName(QName qname)

getNamespaces

public java.util.Iterator getNamespaces()
Returns an Iterator of namespaces that have gone out of scope. Returns an empty iterator if no namespaces have gone out of scope.

Specified by:
getNamespaces in interface javax.xml.stream.events.EndElement
Returns:
an Iterator over Namespace interfaces, or an empty iterator

addNamespace

public void addNamespace(javax.xml.stream.events.Namespace namespace)

toString

public java.lang.String toString()