diff options
author | Simon Pepping <spepping@apache.org> | 2006-01-27 20:24:15 +0000 |
---|---|---|
committer | Simon Pepping <spepping@apache.org> | 2006-01-27 20:24:15 +0000 |
commit | 8f160a6bf6550761eaddaca0bccbfe0380ee6876 (patch) | |
tree | 98eeaf3c03488c2c819e3bd20571acfa31bbdebd /test | |
parent | abebe36d9a0adce5795b86bb359882104757553d (diff) | |
download | xmlgraphics-fop-8f160a6bf6550761eaddaca0bccbfe0380ee6876.tar.gz xmlgraphics-fop-8f160a6bf6550761eaddaca0bccbfe0380ee6876.zip |
Change TransformerHandler to ContentHandler. Use comment method when
available.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372971 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r-- | test/java/org/apache/fop/intermediate/AreaTreeParserTestCase.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/java/org/apache/fop/intermediate/AreaTreeParserTestCase.java b/test/java/org/apache/fop/intermediate/AreaTreeParserTestCase.java index 637966580..245dc25eb 100644 --- a/test/java/org/apache/fop/intermediate/AreaTreeParserTestCase.java +++ b/test/java/org/apache/fop/intermediate/AreaTreeParserTestCase.java @@ -192,7 +192,7 @@ public class AreaTreeParserTestCase extends XMLTestCase { XMLRenderer renderer = new XMLRenderer(); renderer.mimicRenderer(targetRenderer); - renderer.setTransformerHandler(handler); + renderer.setContentHandler(handler); renderer.setUserAgent(userAgent); userAgent.setRendererOverride(renderer); @@ -223,7 +223,7 @@ public class AreaTreeParserTestCase extends XMLTestCase { DOMResult domResult = new DOMResult(); handler.setResult(domResult); XMLRenderer renderer = new XMLRenderer(); - renderer.setTransformerHandler(handler); + renderer.setContentHandler(handler); FOUserAgent userAgent = createUserAgent(); userAgent.setRendererOverride(renderer); |