Package com.bea.xml.stream.events
Class EndElementEvent
- java.lang.Object
-
- com.bea.xml.stream.events.BaseEvent
-
- com.bea.xml.stream.events.NamedEvent
-
- com.bea.xml.stream.events.EndElementEvent
-
- All Implemented Interfaces:
javax.xml.stream.events.EndElement
,javax.xml.stream.events.XMLEvent
,javax.xml.stream.Location
,javax.xml.stream.XMLStreamConstants
public class EndElementEvent extends NamedEvent implements javax.xml.stream.events.EndElement
-
-
Constructor Summary
Constructors Constructor Description EndElementEvent()
EndElementEvent(javax.xml.namespace.QName name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addNamespace(javax.xml.stream.events.Namespace n)
protected void
doWriteAsEncodedUnicode(java.io.Writer writer)
Template method to be implemented by sub-classes.java.util.Iterator
getNamespaces()
Returns an Iterator of namespaces that have gone out of scope.protected void
init()
void
reset()
java.lang.String
toString()
-
Methods inherited from class com.bea.xml.stream.events.NamedEvent
getName, nameAsString, setName
-
Methods inherited from class com.bea.xml.stream.events.BaseEvent
asCharacters, asEndElement, asStartElement, getCharacterOffset, getColumnNumber, getEventType, getLineNumber, getLocation, getLocationURI, getPublicId, getSchemaType, getSourceName, getSystemId, getTypeAsString, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, recycle, setCharacterOffset, setColumnNumber, setEventType, setLineNumber, setLocationURI, 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
-
init
protected void init()
-
getNamespaces
public java.util.Iterator getNamespaces()
Description copied from interface:javax.xml.stream.events.EndElement
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 interfacejavax.xml.stream.events.EndElement
- Returns:
- an Iterator over Namespace interfaces, or an empty iterator
-
addNamespace
public void addNamespace(javax.xml.stream.events.Namespace n)
-
reset
public void reset()
-
doWriteAsEncodedUnicode
protected void doWriteAsEncodedUnicode(java.io.Writer writer) throws java.io.IOException
Description copied from class:BaseEvent
Template method to be implemented by sub-classes.- Specified by:
doWriteAsEncodedUnicode
in classNamedEvent
- Throws:
java.io.IOException
-
-