]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
TransformerHandler changed to ContentHandler to allow easier integration of XML Rende...
authorChris Bowditch <cbowditch@apache.org>
Fri, 27 Jan 2006 17:08:32 +0000 (17:08 +0000)
committerChris Bowditch <cbowditch@apache.org>
Fri, 27 Jan 2006 17:08:32 +0000 (17:08 +0000)
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
test/java/org/apache/fop/layoutengine/LayoutEngineTester.java

index a6d5a41914b9c1da5f6b504622f0156a2d64345e..7eb79ec38bffe71468660de611e42bffaec1789d 100644 (file)
@@ -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);
index 76e77442cd5c5bff6f93a2438ceb8be104f5e5c6..dce5b9adf25cb47fc14be6d15c66db434019843b 100644 (file)
@@ -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);