aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/FOTreeBuilder.java
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-09-06 18:44:33 +0000
committerGlen Mazza <gmazza@apache.org>2004-09-06 18:44:33 +0000
commita27c6a935b4417af213a392c68df80434e17490f (patch)
tree85d99a78cdccb20b1083359e1fb4b4c61875be45 /src/java/org/apache/fop/fo/FOTreeBuilder.java
parent42dc46911b6f085878be224ab0787e69a524fcb0 (diff)
downloadxmlgraphics-fop-a27c6a935b4417af213a392c68df80434e17490f.tar.gz
xmlgraphics-fop-a27c6a935b4417af213a392c68df80434e17490f.zip
Renamed FOInputHandler to somewhat more intuitive FOEventHandler.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197911 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.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/java/org/apache/fop/fo/FOTreeBuilder.java b/src/java/org/apache/fop/fo/FOTreeBuilder.java
index a5b94d978..4d0787bc3 100644
--- a/src/java/org/apache/fop/fo/FOTreeBuilder.java
+++ b/src/java/org/apache/fop/fo/FOTreeBuilder.java
@@ -84,7 +84,7 @@ public class FOTreeBuilder extends DefaultHandler {
* The class that handles formatting and rendering to a stream
* (mark-fop@inomial.com)
*/
- private FOInputHandler foInputHandler;
+ private FOEventHandler foEventHandler;
/** The SAX locator object managing the line and column counters */
private Locator locator;
@@ -107,9 +107,9 @@ public class FOTreeBuilder extends DefaultHandler {
}
if (renderType == Constants.RENDER_MIF) {
- foInputHandler = new MIFHandler(foUserAgent, stream);
+ foEventHandler = new MIFHandler(foUserAgent, stream);
} else if (renderType == Constants.RENDER_RTF) {
- foInputHandler = new RTFHandler(foUserAgent, stream);
+ foEventHandler = new RTFHandler(foUserAgent, stream);
} else {
if (renderType < Constants.RENDER_MIN_CONST
|| renderType > Constants.RENDER_MAX_CONST) {
@@ -117,7 +117,7 @@ public class FOTreeBuilder extends DefaultHandler {
"Invalid render ID#" + renderType);
}
- foInputHandler = new AreaTreeHandler(foUserAgent, renderType,
+ foEventHandler = new AreaTreeHandler(foUserAgent, renderType,
stream);
}
@@ -217,11 +217,11 @@ public class FOTreeBuilder extends DefaultHandler {
*/
public void startDocument() throws SAXException {
rootFObj = null; // allows FOTreeBuilder to be reused
- FONode.setFOInputHandler(foInputHandler);
+ FONode.setFOEventHandler(foEventHandler);
if (log.isDebugEnabled()) {
log.debug("Building formatting object tree");
}
- foInputHandler.startDocument();
+ foEventHandler.startDocument();
}
/**
@@ -234,7 +234,7 @@ public class FOTreeBuilder extends DefaultHandler {
if (log.isDebugEnabled()) {
log.debug("Parsing of document complete");
}
- foInputHandler.endDocument();
+ foEventHandler.endDocument();
}
/**
@@ -355,7 +355,7 @@ public class FOTreeBuilder extends DefaultHandler {
public void reset() {
currentFObj = null;
rootFObj = null;
- foInputHandler = null;
+ foEventHandler = null;
}
}