]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Added setRenderThread()
authorPeter Bernard West <pbwest@apache.org>
Thu, 15 Apr 2004 11:29:58 +0000 (11:29 +0000)
committerPeter Bernard West <pbwest@apache.org>
Thu, 15 Apr 2004 11:29:58 +0000 (11:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197506 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/xml/FoXmlSerialHandler.java

index ae5a6370ed317d516a6f4c95977a71621757f196..c3dd00fc93d8ad2f52910ab8288e18f804fafe25 100644 (file)
@@ -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.
      */