aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Bowditch <cbowditch@apache.org>2006-01-27 17:08:32 +0000
committerChris Bowditch <cbowditch@apache.org>2006-01-27 17:08:32 +0000
commitff538ae8413a9a7472728b50891ba2f2f5ad0c3d (patch)
treeb84ccf479586e0077cbbe27234581f83a00713b1
parenteff8f140681f1b3b7b9f0ac881283fba632fa21b (diff)
downloadxmlgraphics-fop-ff538ae8413a9a7472728b50891ba2f2f5ad0c3d.tar.gz
xmlgraphics-fop-ff538ae8413a9a7472728b50891ba2f2f5ad0c3d.zip
TransformerHandler changed to ContentHandler to allow easier integration of XML Renderer to a SAX Events chain
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372915 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--test/java/org/apache/fop/URIResolutionTestCase.java2
-rw-r--r--test/java/org/apache/fop/layoutengine/LayoutEngineTester.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/java/org/apache/fop/URIResolutionTestCase.java b/test/java/org/apache/fop/URIResolutionTestCase.java
index a6d5a4191..7eb79ec38 100644
--- a/test/java/org/apache/fop/URIResolutionTestCase.java
+++ b/test/java/org/apache/fop/URIResolutionTestCase.java
@@ -153,7 +153,7 @@ public class URIResolutionTestCase extends AbstractFOPTestCase {
XMLRenderer atrenderer = new XMLRenderer();
atrenderer.setUserAgent(ua);
- atrenderer.setTransformerHandler(athandler);
+ atrenderer.setContentHandler(athandler);
ua.setRendererOverride(atrenderer);
Fop fop = new Fop(MimeConstants.MIME_FOP_AREA_TREE, ua);
diff --git a/test/java/org/apache/fop/layoutengine/LayoutEngineTester.java b/test/java/org/apache/fop/layoutengine/LayoutEngineTester.java
index 76e77442c..dce5b9adf 100644
--- a/test/java/org/apache/fop/layoutengine/LayoutEngineTester.java
+++ b/test/java/org/apache/fop/layoutengine/LayoutEngineTester.java
@@ -132,7 +132,7 @@ public class LayoutEngineTester {
ua.setBaseURL(testFile.getParentFile().toURL().toString());
XMLRenderer atrenderer = new XMLRenderer();
atrenderer.setUserAgent(ua);
- atrenderer.setTransformerHandler(athandler);
+ atrenderer.setContentHandler(athandler);
ua.setRendererOverride(atrenderer);
fop = new Fop(MimeConstants.MIME_FOP_AREA_TREE, ua);