public class EndElementEvent extends DummyEvent implements EndElement
fLocationATTRIBUTE, 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() |
EndElementEvent(QName qname) |
EndElementEvent(String prefix,
String uri,
String localpart) |
| Modifier and Type | Method and Description |
|---|---|
QName |
getName() |
Iterator |
getNamespaces()
Returns an Iterator of namespaces that have gone out
of scope.
|
protected void |
init() |
String |
nameAsString() |
void |
setName(QName qname) |
String |
toString() |
protected void |
writeAsEncodedUnicodeEx(Writer writer)
Helper method in order to expose IOException.
|
asCharacters, asEndElement, asStartElement, charEncode, getEventType, getLocation, getSchemaType, isAttribute, isCharacterData, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, setEventType, writeAsEncodedUnicodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicodepublic EndElementEvent()
public EndElementEvent(QName qname)
protected void init()
public QName getName()
getName in interface EndElementpublic void setName(QName qname)
protected void writeAsEncodedUnicodeEx(Writer writer) throws IOException
DummyEventwriteAsEncodedUnicodeEx in class DummyEventwriter - The writer that will output the dataIOException - if there is an IO errorpublic Iterator getNamespaces()
getNamespaces in interface EndElementpublic String nameAsString()
Copyright © 2018–2021 mhoffrogge. All rights reserved.