diff options
author | William Victor Mote <vmote@apache.org> | 2003-08-19 00:53:55 +0000 |
---|---|---|
committer | William Victor Mote <vmote@apache.org> | 2003-08-19 00:53:55 +0000 |
commit | 23c8e89aeb3e2e86cef67e4225b5e6991752c52c (patch) | |
tree | 718acaaac82891959adfc71001e1a4ac64687b3a /src/java/org/apache/fop/fo/XMLObj.java | |
parent | 47daa474f7f92a928541f809058637d8cc4de499 (diff) | |
download | xmlgraphics-fop-23c8e89aeb3e2e86cef67e4225b5e6991752c52c.tar.gz xmlgraphics-fop-23c8e89aeb3e2e86cef67e4225b5e6991752c52c.zip |
1. Remove fo/FOTreeExternal and layoutmgr/LMFOTreeExternal (in favor of Visitor concept, see item 2)
2. Add fo/FOTreeVisitor and layoutmgr/AddLMVisitor
3. Remove all occurrences of addLayoutManager in fo/FObj subclasses, replacing them with equivalent methods in AddLMVisitor
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196809 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/XMLObj.java')
-rw-r--r-- | src/java/org/apache/fop/fo/XMLObj.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fo/XMLObj.java b/src/java/org/apache/fop/fo/XMLObj.java index b1e1b5b9b..c499748a6 100644 --- a/src/java/org/apache/fop/fo/XMLObj.java +++ b/src/java/org/apache/fop/fo/XMLObj.java @@ -231,5 +231,9 @@ public abstract class XMLObj extends FONode { element.appendChild(text); } + public void acceptVisitor(FOTreeVisitor fotv) { + fotv.serveVisitor(this); + } + } |