The name is an org.apache.xerces.xni.QName
:
Empty elements have both a start and an end event; however,
the boolean empty
field is set to true
The attributes are reported as
an org.apache.xerces.xni.Attributes
object:
package org.cyberneko.pull.event;
public class ElementEvent extends BoundedEvent {
public QName element;
public XMLAttributes attributes;
public boolean empty;
public ElementEvent();
}