public class EndElementEventImpl extends BaseEventImpl implements EndElement
mLocation
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 |
---|
EndElementEventImpl(Location loc,
QName name,
Iterator namespaces)
Constructor used by the event factory.
|
EndElementEventImpl(Location loc,
XMLStreamReader r)
Constructor usually used when reading events from a stream reader.
|
Modifier and Type | Method and Description |
---|---|
EndElement |
asEndElement() |
boolean |
equals(Object o)
Declared abstract to force redefinition by sub-classes
|
int |
getEventType() |
QName |
getName() |
Iterator |
getNamespaces() |
int |
hashCode()
Declared abstract to force redefinition by sub-classes
|
boolean |
isEndElement() |
void |
writeAsEncodedUnicode(Writer w) |
void |
writeUsing(XMLStreamWriter2 w) |
addHash, asCharacters, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, iteratedEquals, stringsWithNullsEqual, throwFromIOE, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asCharacters, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
public EndElementEventImpl(Location loc, XMLStreamReader r)
public QName getName()
getName
in interface EndElement
public Iterator getNamespaces()
getNamespaces
in interface EndElement
public EndElement asEndElement()
asEndElement
in interface XMLEvent
asEndElement
in class BaseEventImpl
public int getEventType()
getEventType
in interface XMLEvent
getEventType
in class BaseEventImpl
public boolean isEndElement()
isEndElement
in interface XMLEvent
isEndElement
in class BaseEventImpl
public void writeAsEncodedUnicode(Writer w) throws XMLStreamException
writeAsEncodedUnicode
in interface XMLEvent
writeAsEncodedUnicode
in class BaseEventImpl
XMLStreamException
public void writeUsing(XMLStreamWriter2 w) throws XMLStreamException
writeUsing
in interface XMLEvent2
writeUsing
in class BaseEventImpl
XMLStreamException
public boolean equals(Object o)
BaseEventImpl
equals
in class BaseEventImpl
public int hashCode()
BaseEventImpl
hashCode
in class BaseEventImpl
Copyright © 2015 fasterxml.com. All Rights Reserved.