aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/pagination/RegionBefore.java
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-07-27 23:57:18 +0000
committerGlen Mazza <gmazza@apache.org>2004-07-27 23:57:18 +0000
commit249622789008c4fb8509c6286809f4adbaac654f (patch)
treec77193a66bf5b6b8957887edee27789a03ed0cb9 /src/java/org/apache/fop/fo/pagination/RegionBefore.java
parenta65925f0dbb1c4fe68887fe9deb9f90ba159dfbd (diff)
downloadxmlgraphics-fop-249622789008c4fb8509c6286809f4adbaac654f.tar.gz
xmlgraphics-fop-249622789008c4fb8509c6286809f4adbaac654f.zip
Removed the FOTreeVisitor interface in favor of a more
direct connection to (the subclassable) AddLMVisitor in the FO's. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197845 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination/RegionBefore.java')
-rw-r--r--src/java/org/apache/fop/fo/pagination/RegionBefore.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/RegionBefore.java b/src/java/org/apache/fop/fo/pagination/RegionBefore.java
index 0257d2510..b87eff4c9 100644
--- a/src/java/org/apache/fop/fo/pagination/RegionBefore.java
+++ b/src/java/org/apache/fop/fo/pagination/RegionBefore.java
@@ -21,7 +21,7 @@ package org.apache.fop.fo.pagination;
// FOP
import org.apache.fop.datatypes.FODimension;
import org.apache.fop.fo.FONode;
-import org.apache.fop.fo.FOTreeVisitor;
+import org.apache.fop.layoutmgr.AddLMVisitor;
// Java
import java.awt.Rectangle;
@@ -75,13 +75,12 @@ public class RegionBefore extends RegionBA {
}
/**
- * This is a hook for an FOTreeVisitor subclass to be able to access
+ * This is a hook for the AddLMVisitor class to be able to access
* this object.
- * @param fotv the FOTreeVisitor subclass that can access this object.
- * @see org.apache.fop.fo.FOTreeVisitor
+ * @param aLMV the AddLMVisitor object that can access this object.
*/
- public void acceptVisitor(FOTreeVisitor fotv) {
- fotv.serveRegionBefore(this);
+ public void acceptVisitor(AddLMVisitor aLMV) {
+ aLMV.serveRegionBefore(this);
}
public String getName() {