1 5 package com.microstar.xml; 6 7 26 public interface XmlHandler { 27 28 36 public void startDocument () 37 throws java.lang.Exception ; 38 39 40 48 public void endDocument () 49 throws java.lang.Exception ; 50 51 52 66 public Object resolveEntity (String publicId, String systemId) 67 throws java.lang.Exception ; 68 69 70 83 public void startExternalEntity (String systemId) 84 throws java.lang.Exception ; 85 86 87 100 public void endExternalEntity (String systemId) 101 throws java.lang.Exception ; 102 103 104 115 public void doctypeDecl (String name, String publicId, String systemId) 116 throws java.lang.Exception ; 117 118 119 139 public void attribute (String aname, String value, boolean isSpecified) 140 throws java.lang.Exception ; 141 142 143 156 public void startElement (String elname) 157 throws java.lang.Exception ; 158 159 160 170 public void endElement (String elname) 171 throws java.lang.Exception ; 172 173 174 188 public void charData (char ch[], int start, int length) 189 throws java.lang.Exception ; 190 191 192 205 public void ignorableWhitespace (char ch[], int start, int length) 206 throws java.lang.Exception ; 207 208 209 218 public void processingInstruction (String target, String data) 219 throws java.lang.Exception ; 220 221 222 240 public void error (String message, String systemId, int line, int column) 241 throws java.lang.Exception ; 242 243 } 244 | Popular Tags |