From: Peter Bernard West Date: Thu, 15 Apr 2004 11:29:58 +0000 (+0000) Subject: Added setRenderThread() X-Git-Tag: Defoe_export~235 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=77bb7a97adcd10841f09a60d44f577a8c2412c2b;p=xmlgraphics-fop.git Added setRenderThread() git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197506 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/xml/FoXmlSerialHandler.java b/src/java/org/apache/fop/xml/FoXmlSerialHandler.java index ae5a6370e..c3dd00fc9 100644 --- a/src/java/org/apache/fop/xml/FoXmlSerialHandler.java +++ b/src/java/org/apache/fop/xml/FoXmlSerialHandler.java @@ -54,6 +54,7 @@ implements Runnable { private Namespaces namespaces; private InputSource source; private Thread foThread; + private Thread renderThread; protected Logger log = Logger.getLogger(Fop.fopPackage); private boolean errorDump; @@ -76,10 +77,23 @@ implements Runnable { } } + /** + * Allow the thread starter process to notify the serial handler of + * the FO Tree building thread. + * @param foThread + */ public void setFoThread(Thread foThread) { this.foThread = foThread; } + /** + * Allow the thread starter process to notify the serial handler of + * the rendering thread. + * @param renderThread + */ + public void setRenderThread(Thread renderThread) { + this.renderThread = renderThread; + } /** * This is the run method for the callback parser thread. */