Used for both text declarations and XML declarations.
             The public boolean 
             xmldecl field determines which; true for an XML declaration,
             false for a text declaration 
             
package org.cyberneko.pull.event;
public class TextDeclEvent extends XMLEvent {
    public boolean xmldecl;
    public String  version;
    public String  encoding;
    public String  standalone;
    public TextDeclEvent();
}