Class EndElementEvent
- java.lang.Object
-
- com.sun.xml.fastinfoset.stax.events.EventBase
-
- com.sun.xml.fastinfoset.stax.events.EndElementEvent
-
- All Implemented Interfaces:
EndElement,XMLEvent,XMLStreamConstants
public class EndElementEvent extends EventBase implements 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
Constructors Constructor Description EndElementEvent()EndElementEvent(String prefix, String namespaceURI, String localpart)EndElementEvent(QName qname)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNamespace(Namespace namespace)QNamegetName()Get the name of this eventIteratorgetNamespaces()Returns an Iterator of namespaces that have gone out of scope.voidreset()voidsetName(QName qname)StringtoString()-
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
-
-
-
-
Method Detail
-
reset
public void reset()
-
getName
public QName getName()
Get the name of this event- Specified by:
getNamein interfaceEndElement- Returns:
- the qualified name of this event
-
setName
public void setName(QName qname)
-
getNamespaces
public 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:
getNamespacesin interfaceEndElement- Returns:
- an Iterator over Namespace interfaces, or an empty iterator
-
addNamespace
public void addNamespace(Namespace namespace)
-
-