1 16 19 20 package org.apache.xml.dtm.ref; 21 22 import org.xml.sax.ContentHandler ; 23 import org.xml.sax.InputSource ; 24 import org.xml.sax.XMLReader ; 25 26 46 public interface CoroutineParser { 47 48 54 public int getParserCoroutineID(); 55 56 61 public CoroutineManager getCoroutineManager(); 62 63 64 public void setContentHandler(ContentHandler handler); 65 66 72 public void setLexHandler(org.xml.sax.ext.LexicalHandler handler); 73 74 78 79 97 public Object doParse(InputSource source, int appCoroutine); 98 99 115 public Object doMore (boolean parsemore, int appCoroutine); 116 117 129 public void doTerminate(int appCoroutine); 130 131 136 public void init( CoroutineManager co, int appCoroutineID, XMLReader parser ); 137 138 } | Popular Tags |