diff options
Diffstat (limited to 'src/org/apache/fop/fo/FOUserAgent.java')
-rw-r--r-- | src/org/apache/fop/fo/FOUserAgent.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/org/apache/fop/fo/FOUserAgent.java b/src/org/apache/fop/fo/FOUserAgent.java index 39f9b8bcf..c47bd3d2a 100644 --- a/src/org/apache/fop/fo/FOUserAgent.java +++ b/src/org/apache/fop/fo/FOUserAgent.java @@ -9,6 +9,7 @@ package org.apache.fop.fo; import org.apache.fop.render.XMLHandler; import org.apache.fop.render.RendererContext; +import org.apache.log.Logger; import org.w3c.dom.*; @@ -32,6 +33,15 @@ import java.util.HashMap; public class FOUserAgent { HashMap defaults = new HashMap(); HashMap handlers = new HashMap(); + Logger log; + + public void setLogger(Logger logger) { + log = logger; + } + + public Logger getLogger() { + return log; + } /** * Set the default xml handler for the given mime type. |