1 9 package javolution.xml.sax; 10 11 import javolution.text.CharArray; 12 import j2me.lang.CharSequence; 13 import org.xml.sax.Locator ; 14 import org.xml.sax.SAXException ; 15 16 28 public interface ContentHandler { 29 30 35 void setDocumentLocator(Locator locator); 36 37 42 void startDocument() throws SAXException ; 43 44 49 void endDocument() throws SAXException ; 50 51 58 void startPrefixMapping(CharArray prefix, CharArray uri) 59 throws SAXException ; 60 61 67 void endPrefixMapping(CharArray prefix) throws SAXException ; 68 69 83 void startElement(CharArray uri, CharArray localName, 84 CharArray qName, Attributes atts) throws SAXException ; 85 86 98 void endElement (CharArray uri, CharArray localName, 99 CharArray qName) throws SAXException ; 100 101 109 void characters(char ch[], int start, int length) throws SAXException ; 110 111 119 void ignorableWhitespace(char ch[], int start, int length) 120 throws SAXException ; 121 122 131 void processingInstruction(CharArray target, CharArray data) 132 throws SAXException ; 133 134 143 void skippedEntity(CharArray name) throws SAXException ; 144 145 } | Popular Tags |