public class EndElementEvent extends DummyEvent implements javax.xml.stream.events.EndElement
fLocation
Constructor and Description |
---|
EndElementEvent() |
EndElementEvent(javax.xml.namespace.QName qname) |
EndElementEvent(java.lang.String prefix,
java.lang.String uri,
java.lang.String localpart) |
Modifier and Type | Method and Description |
---|---|
javax.xml.namespace.QName |
getName() |
java.util.Iterator |
getNamespaces()
Returns an Iterator of namespaces that have gone out
of scope.
|
protected void |
init() |
java.lang.String |
nameAsString() |
void |
setName(javax.xml.namespace.QName qname) |
java.lang.String |
toString() |
protected void |
writeAsEncodedUnicodeEx(java.io.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, writeAsEncodedUnicode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
public EndElementEvent()
public EndElementEvent(java.lang.String prefix, java.lang.String uri, java.lang.String localpart)
public EndElementEvent(javax.xml.namespace.QName qname)
protected void init()
public javax.xml.namespace.QName getName()
getName
in interface javax.xml.stream.events.EndElement
public void setName(javax.xml.namespace.QName qname)
protected void writeAsEncodedUnicodeEx(java.io.Writer writer) throws java.io.IOException
DummyEvent
writeAsEncodedUnicodeEx
in class DummyEvent
writer
- The writer that will output the datajava.io.IOException
- if there is an IO errorpublic java.util.Iterator getNamespaces()
getNamespaces
in interface javax.xml.stream.events.EndElement
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String nameAsString()
Copyright ? 2002-2003 Apache XML Project. All Rights Reserved.