diff options
author | William Victor Mote <vmote@apache.org> | 2003-07-29 18:42:32 +0000 |
---|---|---|
committer | William Victor Mote <vmote@apache.org> | 2003-07-29 18:42:32 +0000 |
commit | ba6a64c2bc491b5037fd88eaa5a460953d165060 (patch) | |
tree | 778db3a1805bc405c6bbd8e9ba1c9149dcddda37 /src/java/org/apache/fop/fo/flow | |
parent | 1a3d48adfa170630331ee79bec0ac795d5d9f9f7 (diff) | |
download | xmlgraphics-fop-ba6a64c2bc491b5037fd88eaa5a460953d165060.tar.gz xmlgraphics-fop-ba6a64c2bc491b5037fd88eaa5a460953d165060.zip |
rename StructureHandler to FOInputHandler to clarify that its subclasses are handling data for output that is either structured or laid out
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196756 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/Block.java | 4 | ||||
-rw-r--r-- | src/java/org/apache/fop/fo/flow/Leader.java | 10 | ||||
-rw-r--r-- | src/java/org/apache/fop/fo/flow/PageNumber.java | 10 | ||||
-rw-r--r-- | src/java/org/apache/fop/fo/flow/PageNumberCitation.java | 8 |
4 files changed, 16 insertions, 16 deletions
diff --git a/src/java/org/apache/fop/fo/flow/Block.java b/src/java/org/apache/fop/fo/flow/Block.java index 69b7ac413..563398c90 100644 --- a/src/java/org/apache/fop/fo/flow/Block.java +++ b/src/java/org/apache/fop/fo/flow/Block.java @@ -147,7 +147,7 @@ public class Block extends FObjMixed { setupID(); - structHandler.startBlock(this); + foInputHandler.startBlock(this); } private void setup() { @@ -286,7 +286,7 @@ public class Block extends FObjMixed { */ public void end() { handleWhiteSpace(); - structHandler.endBlock(this); + foInputHandler.endBlock(this); } private void handleWhiteSpace() { diff --git a/src/java/org/apache/fop/fo/flow/Leader.java b/src/java/org/apache/fop/fo/flow/Leader.java index bfce80be3..596ef299e 100644 --- a/src/java/org/apache/fop/fo/flow/Leader.java +++ b/src/java/org/apache/fop/fo/flow/Leader.java @@ -64,7 +64,7 @@ import org.apache.fop.datatypes.Length; import org.apache.fop.datatypes.PercentLength; import org.apache.fop.fo.FONode; import org.apache.fop.fo.FObjMixed; -import org.apache.fop.fo.StructureHandler; +import org.apache.fop.fo.FOInputHandler; import org.apache.fop.fo.properties.LeaderPattern; import org.apache.fop.layout.AccessibilityProps; import org.apache.fop.layout.AuralProps; @@ -213,11 +213,11 @@ public class Leader extends FObjMixed { } /** - * @param st StructureHandler to set + * @param foih FOInputHandler to set */ - public void setStructHandler(StructureHandler st) { - super.setStructHandler(st); - fontInfo = st.getFontInfo(); + public void setFOInputHandler(FOInputHandler foih) { + super.setFOInputHandler(foih); + fontInfo = foih.getFontInfo(); } private void setup() { diff --git a/src/java/org/apache/fop/fo/flow/PageNumber.java b/src/java/org/apache/fop/fo/flow/PageNumber.java index 3a5aaf085..fd56c5f58 100644 --- a/src/java/org/apache/fop/fo/flow/PageNumber.java +++ b/src/java/org/apache/fop/fo/flow/PageNumber.java @@ -73,7 +73,7 @@ import org.apache.fop.area.inline.Word; import org.apache.fop.datatypes.ColorType; import org.apache.fop.fo.FONode; import org.apache.fop.fo.FObj; -import org.apache.fop.fo.StructureHandler; +import org.apache.fop.fo.FOInputHandler; import org.apache.fop.area.Trait; /** @@ -100,11 +100,11 @@ public class PageNumber extends FObj { } /** - * @param st StructureHandler to be set + * @param foih FOInputHandler to be set */ - public void setStructHandler(StructureHandler st) { - super.setStructHandler(st); - fontInfo = st.getFontInfo(); + public void setFOInputHandler(FOInputHandler foih) { + super.setFOInputHandler(foih); + fontInfo = foih.getFontInfo(); } /** diff --git a/src/java/org/apache/fop/fo/flow/PageNumberCitation.java b/src/java/org/apache/fop/fo/flow/PageNumberCitation.java index f2f213871..04b3844a5 100644 --- a/src/java/org/apache/fop/fo/flow/PageNumberCitation.java +++ b/src/java/org/apache/fop/fo/flow/PageNumberCitation.java @@ -63,7 +63,7 @@ import org.apache.fop.area.inline.Word; import org.apache.fop.datatypes.ColorType; import org.apache.fop.fo.FONode; import org.apache.fop.fo.FObj; -import org.apache.fop.fo.StructureHandler; +import org.apache.fop.fo.FOInputHandler; import org.apache.fop.layout.AccessibilityProps; import org.apache.fop.layout.AuralProps; import org.apache.fop.layout.BackgroundProps; @@ -113,9 +113,9 @@ public class PageNumberCitation extends FObj { /** * @param st StuctureHandler object to set */ - public void setStructHandler(StructureHandler st) { - super.setStructHandler(st); - fontInfo = st.getFontInfo(); + public void setFOInputHandler(FOInputHandler foih) { + super.setFOInputHandler(foih); + fontInfo = foih.getFontInfo(); } /** |