aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/xml/XMLRenderer.java
diff options
context:
space:
mode:
authorWilliam Victor Mote <vmote@apache.org>2003-08-28 17:13:22 +0000
committerWilliam Victor Mote <vmote@apache.org>2003-08-28 17:13:22 +0000
commitc52ee3903708f476112e2e2328b3954f42f5c04a (patch)
treef5bfd87a6eecbadfc84f7a488fa58ae86536854d /src/java/org/apache/fop/render/xml/XMLRenderer.java
parent72c8c4e583fcd9e8d94ccc4022e0a36cacd4bde8 (diff)
downloadxmlgraphics-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/xml/XMLRenderer.java')
-rw-r--r--src/java/org/apache/fop/render/xml/XMLRenderer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/render/xml/XMLRenderer.java b/src/java/org/apache/fop/render/xml/XMLRenderer.java
index 2637bc406..6d6af46f3 100644
--- a/src/java/org/apache/fop/render/xml/XMLRenderer.java
+++ b/src/java/org/apache/fop/render/xml/XMLRenderer.java
@@ -147,9 +147,9 @@ public class XMLRenderer extends AbstractRenderer {
//
//userAgent.addExtensionHandler();
XMLHandler handler = new XMLXMLHandler();
- userAgent.setDefaultXMLHandler(XML_MIME_TYPE, handler);
+ setDefaultXMLHandler(userAgent, XML_MIME_TYPE, handler);
String svg = "http://www.w3.org/2000/svg";
- userAgent.addXMLHandler(XML_MIME_TYPE, svg, handler);
+ addXMLHandler(userAgent, XML_MIME_TYPE, svg, handler);
}
/**