From ba1eaace4686656ae9907f4d7fa005683447aecc Mon Sep 17 00:00:00 2001 From: William Victor Mote Date: Tue, 17 Jun 2003 02:46:56 +0000 Subject: 1. Copy apps.Driver to apps.Session. 2. Fix all references to use Session instead of Driver. 3. Keep contents of "Services" class, but remove the class definition itself so that it can be used by both Driver and Session. 4. Deprecate Driver. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196503 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/image/XMLImage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/java/org/apache/fop/image/XMLImage.java') diff --git a/src/java/org/apache/fop/image/XMLImage.java b/src/java/org/apache/fop/image/XMLImage.java index a1a7b8b92..ddfdf799b 100644 --- a/src/java/org/apache/fop/image/XMLImage.java +++ b/src/java/org/apache/fop/image/XMLImage.java @@ -54,7 +54,7 @@ package org.apache.fop.image; import org.w3c.dom.Document; // FOP -import org.apache.fop.apps.Driver; +import org.apache.fop.apps.Session; /** * This is an implementation for XML-based images such as SVG. @@ -86,7 +86,7 @@ public class XMLImage extends AbstractFopImage { * @return the created SAX parser */ public static String getParserName() { - String parserClassName = Driver.getParserClassName(); + String parserClassName = Session.getParserClassName(); return parserClassName; } -- cgit v1.2.3