1 16 19 package com.sun.org.apache.xml.internal.serializer; 20 21 import org.xml.sax.Attributes ; 22 23 27 28 public interface SerializerTrace { 29 30 34 public static final int EVENTTYPE_STARTDOCUMENT = 1; 35 36 39 public static final int EVENTTYPE_ENDDOCUMENT = 2; 40 41 44 public static final int EVENTTYPE_STARTELEMENT = 3; 45 46 49 public static final int EVENTTYPE_ENDELEMENT = 4; 50 51 54 public static final int EVENTTYPE_CHARACTERS = 5; 55 56 59 public static final int EVENTTYPE_IGNORABLEWHITESPACE = 6; 60 61 64 public static final int EVENTTYPE_PI = 7; 65 66 69 public static final int EVENTTYPE_COMMENT = 8; 70 71 74 public static final int EVENTTYPE_ENTITYREF = 9; 75 76 79 public static final int EVENTTYPE_CDATA = 10; 80 81 90 public static final int EVENTTYPE_OUTPUT_PSEUDO_CHARACTERS = 11; 91 92 95 public static final int EVENTTYPE_OUTPUT_CHARACTERS = 12; 96 97 98 103 public boolean hasTraceListeners(); 104 105 110 public void fireGenerateEvent(int eventType); 111 112 119 public void fireGenerateEvent(int eventType, String name, Attributes atts); 120 121 129 public void fireGenerateEvent(int eventType, char ch[], int start, int length); 130 131 138 public void fireGenerateEvent(int eventType, String name, String data); 139 140 141 147 public void fireGenerateEvent(int eventType, String data); 148 149 } 150 | Popular Tags |