diff options
author | William Victor Mote <vmote@apache.org> | 2003-08-19 05:19:21 +0000 |
---|---|---|
committer | William Victor Mote <vmote@apache.org> | 2003-08-19 05:19:21 +0000 |
commit | f57272a7c47e82a4ba3131c2d7a730c9529ff272 (patch) | |
tree | 6b5de48ee08cdd8d8b011a690336605fef7745d4 /src/java/org/apache/fop/fo/FOTreeBuilder.java | |
parent | eeaa58076beb48b96bfc0e98ae80a0d4e2ddbc03 (diff) | |
download | xmlgraphics-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.java | 6 |
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); } |