The public locator field contains an
             org.apache.xerces.xni.XMLLocator object for reporting positions within the document. 
The public encoding field contains the actual encoding of
    the document.
        
package org.cyberneko.pull.event;
public class DocumentEvent extends BoundedEvent {
    public XMLLocator locator;
    public String encoding;
    public DocumentEvent();
}