public class EndElementEvent extends AbstractXMLEvent implements EndElement
EndElement
event implementation.Modifier and Type | Field and Description |
---|---|
protected QName |
name
The element name.
|
protected java.util.Collection |
namespaces
A collection of
Namespace s going out of scope. |
location, schemaType
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor and Description |
---|
EndElementEvent(EndElement that) |
EndElementEvent(QName name,
java.util.Iterator namespaces) |
EndElementEvent(QName name,
java.util.Iterator namespaces,
Location location) |
EndElementEvent(QName name,
java.util.Iterator namespaces,
Location location,
QName schemaType) |
Modifier and Type | Method and Description |
---|---|
int |
getEventType()
Returns
XMLStreamConstants.END_ELEMENT . |
QName |
getName() |
java.util.Iterator |
getNamespaces() |
asCharacters, asEndElement, asStartElement, clone, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, matches, toString, writeAsEncodedUnicode, writeEvent
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
protected QName name
protected java.util.Collection namespaces
Namespace
s going out of scope.public EndElementEvent(QName name, java.util.Iterator namespaces)
public EndElementEvent(QName name, java.util.Iterator namespaces, Location location)
public EndElementEvent(QName name, java.util.Iterator namespaces, Location location, QName schemaType)
public EndElementEvent(EndElement that)
public int getEventType()
XMLStreamConstants.END_ELEMENT
.getEventType
in interface XMLEvent
public QName getName()
getName
in interface EndElement
public java.util.Iterator getNamespaces()
getNamespaces
in interface EndElement