This figure shows the hierarchy of the XMLEvent interface and its subinterfaces. There are two connected boxes on the far right, labeled Comment and Space. An arrow pointing to the left connects them to a middle column of boxes, which read StartElement, EndElement, StartDocument, EndDocument, CharacterData, EntityReference, ProcessingInstruction, StartPrefixMapping, ChangePrefixMapping, and EndPrefixMapping. An arrow pointing to the left connects this to the left column, which has one box XMLEvent.