Class EndElementEventImpl
java.lang.Object
org.codehaus.stax2.ri.evt.BaseEventImpl
org.codehaus.stax2.ri.evt.EndElementEventImpl
- All Implemented Interfaces:
EndElement, XMLEvent, XMLStreamConstants, XMLEvent2
-
Field Summary
FieldsFields inherited from class BaseEventImpl
mLocationFields inherited from interface XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT -
Constructor Summary
ConstructorsConstructorDescriptionEndElementEventImpl(Location loc, QName name, Iterator<Namespace> namespaces) Constructor used by the event factory.Constructor usually used when reading events from a stream reader. -
Method Summary
Methods inherited from class BaseEventImpl
addHash, asCharacters, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, iteratedEquals, stringsWithNullsEqual, throwFromIOE, toStringMethods inherited from interface XMLEvent
asCharacters, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
-
Field Details
-
mName
-
mNamespaces
-
-
Constructor Details
-
EndElementEventImpl
Constructor usually used when reading events from a stream reader. -
EndElementEventImpl
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceEndElement
-
getNamespaces
- Specified by:
getNamespacesin interfaceEndElement
-
asEndElement
- Specified by:
asEndElementin interfaceXMLEvent- Overrides:
asEndElementin classBaseEventImpl
-
getEventType
public int getEventType()- Specified by:
getEventTypein interfaceXMLEvent- Specified by:
getEventTypein classBaseEventImpl
-
isEndElement
public boolean isEndElement()- Specified by:
isEndElementin interfaceXMLEvent- Overrides:
isEndElementin classBaseEventImpl
-
writeAsEncodedUnicode
- Specified by:
writeAsEncodedUnicodein interfaceXMLEvent- Specified by:
writeAsEncodedUnicodein classBaseEventImpl- Throws:
XMLStreamException
-
writeUsing
- Specified by:
writeUsingin interfaceXMLEvent2- Specified by:
writeUsingin classBaseEventImpl- Throws:
XMLStreamException
-
equals
Description copied from class:BaseEventImplDeclared abstract to force redefinition by sub-classes- Specified by:
equalsin classBaseEventImpl
-
hashCode
public int hashCode()Description copied from class:BaseEventImplDeclared abstract to force redefinition by sub-classes- Specified by:
hashCodein classBaseEventImpl
-