1 6 package org.xml.sax; 7 8 47 public interface DocumentHandler { 48 49 50 75 public abstract void setDocumentLocator (Locator locator); 76 77 78 88 public abstract void startDocument () 89 throws SAXException ; 90 91 92 104 public abstract void endDocument () 105 throws SAXException ; 106 107 108 130 public abstract void startElement (String name, AttributeList atts) 131 throws SAXException ; 132 133 134 149 public abstract void endElement (String name) 150 throws SAXException ; 151 152 153 178 public abstract void characters (char ch[], int start, int length) 179 throws SAXException ; 180 181 182 206 public abstract void ignorableWhitespace (char ch[], int start, int length) 207 throws SAXException ; 208 209 210 227 public abstract void processingInstruction (String target, String data) 228 throws SAXException ; 229 230 } 231 232 | Popular Tags |