]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Made xmlevents protected. Added getXmlevents() function.
authorPeter Bernard West <pbwest@apache.org>
Mon, 11 Nov 2002 16:54:08 +0000 (16:54 +0000)
committerPeter Bernard West <pbwest@apache.org>
Mon, 11 Nov 2002 16:54:08 +0000 (16:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@195489 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/fo/FOTree.java

index f40f8649627d640f50e77fc922da74c4a359bba9..b30b36ffa24e981c0bf0ed8a706ac54fdf011ef0 100644 (file)
@@ -51,7 +51,7 @@ public class FOTree extends Tree implements Runnable {
      * The buffer from which the <tt>XMLEvent</tt>s from the parser will
      * be read.  <tt>protected</tt> so that FONode can access it.
      */
-    SyncedFoXmlEventsBuffer xmlevents;
+    protected SyncedFoXmlEventsBuffer xmlevents;
     private Thread parserThread;
     private boolean errorDump;
 
@@ -61,7 +61,6 @@ public class FOTree extends Tree implements Runnable {
      */
     protected PropertyParser exprParser;
 
-
     /**
      * @param xmlevents the buffer from which <tt>XMLEvent</tt>s from the
      * parser are read.
@@ -107,6 +106,15 @@ public class FOTree extends Tree implements Runnable {
         this.parserThread = parserThread;
     }
 
+    /**
+     * Get the <i>xmlevents</i> buffer through which descendents can access
+     * parser events.
+     * @return <i>xmlevents</i>.
+     */
+    public SyncedFoXmlEventsBuffer getXmlevents() {
+        return xmlevents;
+    }
+
     /**
      * The <tt>run</tt> method() invoked by the call of <tt>start</tt>
      * on the thread in which runs off FOTree.