aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/FOTreeBuilder.java
diff options
context:
space:
mode:
authorWilliam Victor Mote <vmote@apache.org>2003-08-19 05:19:21 +0000
committerWilliam Victor Mote <vmote@apache.org>2003-08-19 05:19:21 +0000
commitf57272a7c47e82a4ba3131c2d7a730c9529ff272 (patch)
tree6b5de48ee08cdd8d8b011a690336605fef7745d4 /src/java/org/apache/fop/fo/FOTreeBuilder.java
parenteeaa58076beb48b96bfc0e98ae80a0d4e2ddbc03 (diff)
downloadxmlgraphics-fop-f57272a7c47e82a4ba3131c2d7a730c9529ff272.tar.gz
xmlgraphics-fop-f57272a7c47e82a4ba3131c2d7a730c9529ff272.zip
create fo/FOTreeControl interface, and make control/Document implement it, to further encapsulate the FO Tree
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196811 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/FOTreeBuilder.java')
-rw-r--r--src/java/org/apache/fop/fo/FOTreeBuilder.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/fo/FOTreeBuilder.java b/src/java/org/apache/fop/fo/FOTreeBuilder.java
index 1af4d795f..7f07bfc4a 100644
--- a/src/java/org/apache/fop/fo/FOTreeBuilder.java
+++ b/src/java/org/apache/fop/fo/FOTreeBuilder.java
@@ -54,7 +54,7 @@ package org.apache.fop.fo;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
-import org.apache.fop.control.Document;
+import org.apache.fop.fo.FOTreeControl;
import org.apache.fop.fo.pagination.Root;
// SAX
@@ -122,7 +122,7 @@ public class FOTreeBuilder extends DefaultHandler {
private FOUserAgent userAgent;
- public Document document;
+ public FOTreeControl foTreeControl;
/**
* Default constructor
@@ -295,7 +295,7 @@ public class FOTreeBuilder extends DefaultHandler {
+ fobj.getName()));
}
rootFObj = (Root)fobj;
- rootFObj.setDocument(document);
+ rootFObj.setFOTreeControl(foTreeControl);
} else {
currentFObj.addChild(fobj);
}