From: Chris Bowditch Date: Fri, 27 Jan 2006 17:08:32 +0000 (+0000) Subject: TransformerHandler changed to ContentHandler to allow easier integration of XML Rende... X-Git-Tag: fop-0_92-beta~167 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ff538ae8413a9a7472728b50891ba2f2f5ad0c3d;p=xmlgraphics-fop.git 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 --- 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);