From ff538ae8413a9a7472728b50891ba2f2f5ad0c3d Mon Sep 17 00:00:00 2001 From: Chris Bowditch Date: Fri, 27 Jan 2006 17:08:32 +0000 Subject: [PATCH] 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 --- test/java/org/apache/fop/URIResolutionTestCase.java | 2 +- test/java/org/apache/fop/layoutengine/LayoutEngineTester.java | 2 +- 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); -- 2.39.5