/** * Called by this.transform() if isParserEventsOnMain()==false. * Similar with runTransformThread(), but no priority is set * and setTransformThread is not set. */ public void runTransformThread() { ThreadControllerWrapper.runThread(this, -1); }
/** * Called by CoRoutineSAXParser. Launches the CoroutineSAXParser * in a thread, and prepares it to invoke the parser from that thread * upon request. * */ public static void runTransformThread(Runnable runnable) { ThreadControllerWrapper.runThread(runnable, -1); }
/** * Called by this.transform() if isParserEventsOnMain()==false. * Similar with runTransformThread(), but no priority is set * and setTransformThread is not set. */ public void runTransformThread() { ThreadControllerWrapper.runThread(this, -1); }
/** * Called by CoRoutineSAXParser. Launches the CoroutineSAXParser * in a thread, and prepares it to invoke the parser from that thread * upon request. * */ public static void runTransformThread(Runnable runnable) { ThreadControllerWrapper.runThread(runnable, -1); }
/** * Called by SourceTreeHandler to start the transformation * in a separate thread * * NEEDSDOC @param priority */ public void runTransformThread(int priority) { // used in SourceTreeHandler Thread t = ThreadControllerWrapper.runThread(this, priority); this.setTransformThread(t); }
/** * Called by SourceTreeHandler to start the transformation * in a separate thread * * NEEDSDOC @param priority */ public void runTransformThread(int priority) { // used in SourceTreeHandler Thread t = ThreadControllerWrapper.runThread(this, priority); this.setTransformThread(t); }
/** Launch a thread that will run an XMLReader's parse() operation within * a thread, feeding events to this IncrementalSAXSource_Filter. Mostly a convenience * routine, but has the advantage that -- since we invoked parse() -- * we can halt parsing quickly via a StopException rather than waiting * for the SAX stream to end by itself. * * @throws SAXException is parse thread is already in progress * or parsing can not be started. * */ public void startParse(InputSource source) throws SAXException { if(fNoMoreEvents) throw new SAXException(XMLMessages.createXMLMessage(XMLErrorResources.ER_INCRSAXSRCFILTER_NOT_RESTARTABLE, null)); //"IncrmentalSAXSource_Filter not currently restartable."); if(fXMLReader==null) throw new SAXException(XMLMessages.createXMLMessage(XMLErrorResources.ER_XMLRDR_NOT_BEFORE_STARTPARSE, null)); //"XMLReader not before startParse request"); fXMLReaderInputSource=source; // Xalan thread pooling... // org.apache.xalan.transformer.TransformerImpl.runTransformThread(this); ThreadControllerWrapper.runThread(this, -1); }
/** Launch a thread that will run an XMLReader's parse() operation within * a thread, feeding events to this IncrementalSAXSource_Filter. Mostly a convenience * routine, but has the advantage that -- since we invoked parse() -- * we can halt parsing quickly via a StopException rather than waiting * for the SAX stream to end by itself. * * @throws SAXException is parse thread is already in progress * or parsing can not be started. * */ public void startParse(InputSource source) throws SAXException { if(fNoMoreEvents) throw new SAXException(XMLMessages.createXMLMessage(XMLErrorResources.ER_INCRSAXSRCFILTER_NOT_RESTARTABLE, null)); //"IncrmentalSAXSource_Filter not currently restartable."); if(fXMLReader==null) throw new SAXException(XMLMessages.createXMLMessage(XMLErrorResources.ER_XMLRDR_NOT_BEFORE_STARTPARSE, null)); //"XMLReader not before startParse request"); fXMLReaderInputSource=source; // Xalan thread pooling... // org.apache.xalan.transformer.TransformerImpl.runTransformThread(this); ThreadControllerWrapper.runThread(this, -1); }
/** * Called by CoRoutineSAXParser. Launches the CoroutineSAXParser * in a thread, and prepares it to invoke the parser from that thread * upon request. * */ public static void runTransformThread(Runnable runnable) { ThreadControllerWrapper.runThread(runnable, -1); }
/** * Called by CoRoutineSAXParser. Launches the CoroutineSAXParser * in a thread, and prepares it to invoke the parser from that thread * upon request. * */ public static void runTransformThread(Runnable runnable) { ThreadControllerWrapper.runThread(runnable, -1); }
/** * Called by CoRoutineSAXParser. Launches the CoroutineSAXParser * in a thread, and prepares it to invoke the parser from that thread * upon request. * */ public static void runTransformThread(Runnable runnable) { ThreadControllerWrapper.runThread(runnable, -1); }
/** * Called by this.transform() if isParserEventsOnMain()==false. * Similar with runTransformThread(), but no priority is set * and setTransformThread is not set. */ public void runTransformThread() { ThreadControllerWrapper.runThread(this, -1); }
/** * Called by this.transform() if isParserEventsOnMain()==false. * Similar with runTransformThread(), but no priority is set * and setTransformThread is not set. */ public void runTransformThread() { ThreadControllerWrapper.runThread(this, -1); }
/** * Called by CoRoutineSAXParser. Launches the CoroutineSAXParser * in a thread, and prepares it to invoke the parser from that thread * upon request. * */ public static void runTransformThread(Runnable runnable) { ThreadControllerWrapper.runThread(runnable, -1); }
/** * Called by this.transform() if isParserEventsOnMain()==false. * Similar with runTransformThread(), but no priority is set * and setTransformThread is not set. */ public void runTransformThread() { ThreadControllerWrapper.runThread(this, -1); }
/** * Called by this.transform() if isParserEventsOnMain()==false. * Similar with runTransformThread(), but no priority is set * and setTransformThread is not set. */ public void runTransformThread() { ThreadControllerWrapper.runThread(this, -1); }
/** * Called by SourceTreeHandler to start the transformation * in a separate thread * * NEEDSDOC @param priority */ public void runTransformThread(int priority) { // used in SourceTreeHandler Thread t = ThreadControllerWrapper.runThread(this, priority); this.setTransformThread(t); }
/** * Called by SourceTreeHandler to start the transformation * in a separate thread * * NEEDSDOC @param priority */ public void runTransformThread(int priority) { // used in SourceTreeHandler Thread t = ThreadControllerWrapper.runThread(this, priority); this.setTransformThread(t); }
/** * Called by SourceTreeHandler to start the transformation * in a separate thread * * NEEDSDOC @param priority */ public void runTransformThread(int priority) { // used in SourceTreeHandler Thread t = ThreadControllerWrapper.runThread(this, priority); this.setTransformThread(t); }
/** * Called by SourceTreeHandler to start the transformation * in a separate thread * * NEEDSDOC @param priority */ public void runTransformThread(int priority) { // used in SourceTreeHandler Thread t = ThreadControllerWrapper.runThread(this, priority); this.setTransformThread(t); }