diff options
author | Jeremias Maerki <jeremias@apache.org> | 2002-08-07 16:54:58 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2002-08-07 16:54:58 +0000 |
commit | 1d750a74610958cfd33b5affcd1564cbb4626ae9 (patch) | |
tree | 93d6a1f480681c6fdae8ab081c44351d7e463683 /src/org/apache/fop/apps/Starter.java | |
parent | e3b6e3da3b59435c6190cdec99ec1b3547186533 (diff) | |
download | xmlgraphics-fop-1d750a74610958cfd33b5affcd1564cbb4626ae9.tar.gz xmlgraphics-fop-1d750a74610958cfd33b5affcd1564cbb4626ae9.zip |
First batch of changes for preparation for adoption of Avalon patterns. Only changes on logging for now. Mostly usage of LogEnabled contract interface. Separate mail follows.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195068 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/apps/Starter.java')
-rw-r--r-- | src/org/apache/fop/apps/Starter.java | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/org/apache/fop/apps/Starter.java b/src/org/apache/fop/apps/Starter.java index a3dc669fe..3c280b274 100644 --- a/src/org/apache/fop/apps/Starter.java +++ b/src/org/apache/fop/apps/Starter.java @@ -8,7 +8,7 @@ package org.apache.fop.apps; // Avalon -import org.apache.avalon.framework.logger.Logger; +import org.apache.avalon.framework.logger.AbstractLogEnabled; // SAX import org.xml.sax.XMLReader; @@ -23,20 +23,15 @@ import java.net.URL; * Creates a SAX Parser (defaulting to Xerces). * */ -public abstract class Starter { +public abstract class Starter extends AbstractLogEnabled { Options options; InputHandler inputHandler; - protected Logger log; public Starter() throws FOPException { options = new Options(); } - public void setLogger(Logger logger) { - log = logger; - } - public void setInputHandler(InputHandler inputHandler) { this.inputHandler = inputHandler; } |