diff options
author | William Victor Mote <vmote@apache.org> | 2003-08-28 17:13:22 +0000 |
---|---|---|
committer | William Victor Mote <vmote@apache.org> | 2003-08-28 17:13:22 +0000 |
commit | c52ee3903708f476112e2e2328b3954f42f5c04a (patch) | |
tree | f5bfd87a6eecbadfc84f7a488fa58ae86536854d /src/java/org/apache/fop/render/pdf | |
parent | 72c8c4e583fcd9e8d94ccc4022e0a36cacd4bde8 (diff) | |
download | xmlgraphics-fop-c52ee3903708f476112e2e2328b3954f42f5c04a.tar.gz xmlgraphics-fop-c52ee3903708f476112e2e2328b3954f42f5c04a.zip |
move setDefaultXMLHandler() and addXMLHandler() from apps/FOUserAgent to render/AbstractRenderer
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196867 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/pdf')
-rw-r--r-- | src/java/org/apache/fop/render/pdf/PDFRenderer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/pdf/PDFRenderer.java b/src/java/org/apache/fop/render/pdf/PDFRenderer.java index f810c852e..42c917315 100644 --- a/src/java/org/apache/fop/render/pdf/PDFRenderer.java +++ b/src/java/org/apache/fop/render/pdf/PDFRenderer.java @@ -260,7 +260,7 @@ public class PDFRenderer extends PrintRenderer { PDFXMLHandler xmlHandler = new PDFXMLHandler(); //userAgent.setDefaultXMLHandler(MIME_TYPE, xmlHandler); String svg = "http://www.w3.org/2000/svg"; - userAgent.addXMLHandler(MIME_TYPE, svg, xmlHandler); + addXMLHandler(userAgent, MIME_TYPE, svg, xmlHandler); } /** |