From: Joerg Pietschmann Date: Mon, 15 Jul 2002 19:28:08 +0000 (+0000) Subject: Replaced options Hashtable by HashMap X-Git-Tag: fop-0_20_5rc~131 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7ac927f2bf1d0259d56d577823e8038087aedd7b;p=xmlgraphics-fop.git Replaced options Hashtable by HashMap Reproted by: Oleg Tkachenko git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_20_2-maintain@194999 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/org/apache/fop/render/Renderer.java b/src/org/apache/fop/render/Renderer.java index d8641f13e..cba4956a3 100644 --- a/src/org/apache/fop/render/Renderer.java +++ b/src/org/apache/fop/render/Renderer.java @@ -41,7 +41,7 @@ public interface Renderer { /** * set up renderer options */ - public void setOptions(java.util.Hashtable options); + public void setOptions(java.util.HashMap options); /** * set the producer of the rendering diff --git a/src/org/apache/fop/render/awt/AWTRenderer.java b/src/org/apache/fop/render/awt/AWTRenderer.java index 8e849511e..4b8716af7 100644 --- a/src/org/apache/fop/render/awt/AWTRenderer.java +++ b/src/org/apache/fop/render/awt/AWTRenderer.java @@ -115,12 +115,12 @@ public class AWTRenderer extends AbstractRenderer implements Printable, Pageable /** * options */ - protected Hashtable options; + protected java.util.HashMap options; /** * set up renderer options */ - public void setOptions(Hashtable options) { + public void setOptions(java.util.HashMap options) { this.options = options; } diff --git a/src/org/apache/fop/render/mif/MIFRenderer.java b/src/org/apache/fop/render/mif/MIFRenderer.java index da3bee13c..0b5d89596 100644 --- a/src/org/apache/fop/render/mif/MIFRenderer.java +++ b/src/org/apache/fop/render/mif/MIFRenderer.java @@ -80,7 +80,7 @@ public class MIFRenderer extends AbstractRenderer { /** * options */ - protected Hashtable options; + protected java.util.HashMap options; /** * create the MIF renderer @@ -92,7 +92,7 @@ public class MIFRenderer extends AbstractRenderer { /** * set up renderer options */ - public void setOptions(Hashtable options) { + public void setOptions(java.util.HashMap options) { this.options = options; } diff --git a/src/org/apache/fop/render/pcl/PCLRenderer.java b/src/org/apache/fop/render/pcl/PCLRenderer.java index ba25deff7..db0f7211c 100755 --- a/src/org/apache/fop/render/pcl/PCLRenderer.java +++ b/src/org/apache/fop/render/pcl/PCLRenderer.java @@ -58,7 +58,7 @@ public class PCLRenderer extends PrintRenderer { private int xoffset = -180; // X Offset to allow for PCL implicit 1/4" left margin. - private java.util.Hashtable options; + private java.util.HashMap options; /** * Create the PCL renderer @@ -68,7 +68,7 @@ public class PCLRenderer extends PrintRenderer { /** * set up renderer options */ - public void setOptions(java.util.Hashtable options) { + public void setOptions(java.util.HashMap options) { this.options = options; } diff --git a/src/org/apache/fop/render/pdf/PDFRenderer.java b/src/org/apache/fop/render/pdf/PDFRenderer.java index 44e62f89b..cb1274736 100644 --- a/src/org/apache/fop/render/pdf/PDFRenderer.java +++ b/src/org/apache/fop/render/pdf/PDFRenderer.java @@ -121,7 +121,7 @@ public class PDFRenderer extends PrintRenderer { /** * options */ - protected Hashtable options; + protected java.util.HashMap options; protected Vector extensions = null; @@ -137,7 +137,7 @@ public class PDFRenderer extends PrintRenderer { * * @param options Options for the renderer */ - public void setOptions(Hashtable options) { + public void setOptions(java.util.HashMap options) { this.options = options; } diff --git a/src/org/apache/fop/render/ps/PSRenderer.java b/src/org/apache/fop/render/ps/PSRenderer.java index 4d0da9bdc..5a8ce25a3 100644 --- a/src/org/apache/fop/render/ps/PSRenderer.java +++ b/src/org/apache/fop/render/ps/PSRenderer.java @@ -120,7 +120,7 @@ public class PSRenderer extends AbstractRenderer { protected IDReferences idReferences; - protected Hashtable options; + protected java.util.HashMap options; /** @@ -136,7 +136,7 @@ public class PSRenderer extends AbstractRenderer { /** * set up renderer options */ - public void setOptions(Hashtable options) { + public void setOptions(java.util.HashMap options) { this.options = options; } diff --git a/src/org/apache/fop/render/svg/SVGRenderer.java b/src/org/apache/fop/render/svg/SVGRenderer.java index 0c05bb3e9..a1bc6f241 100644 --- a/src/org/apache/fop/render/svg/SVGRenderer.java +++ b/src/org/apache/fop/render/svg/SVGRenderer.java @@ -86,12 +86,12 @@ public class SVGRenderer extends AbstractRenderer { /** * options */ - protected Hashtable options; + protected java.util.HashMap options; /** * set up renderer options */ - public void setOptions(Hashtable options) { + public void setOptions(java.util.HashMap options) { this.options = options; } diff --git a/src/org/apache/fop/render/txt/TXTRenderer.java b/src/org/apache/fop/render/txt/TXTRenderer.java index 10733a3f5..1b7740419 100755 --- a/src/org/apache/fop/render/txt/TXTRenderer.java +++ b/src/org/apache/fop/render/txt/TXTRenderer.java @@ -80,14 +80,14 @@ public class TXTRenderer extends PrintRenderer { /** * options */ - protected Hashtable options; + protected java.util.HashMap options; public TXTRenderer() {} /** * set up renderer options */ - public void setOptions(Hashtable options) { + public void setOptions(java.util.HashMap options) { this.options = options; } diff --git a/src/org/apache/fop/render/xml/XMLRenderer.java b/src/org/apache/fop/render/xml/XMLRenderer.java index bd4a4c109..7ac59a79f 100644 --- a/src/org/apache/fop/render/xml/XMLRenderer.java +++ b/src/org/apache/fop/render/xml/XMLRenderer.java @@ -61,7 +61,7 @@ public class XMLRenderer implements Renderer { /** * options */ - protected Hashtable options; + protected java.util.HashMap options; private boolean consistentOutput = false; public XMLRenderer() {} @@ -69,7 +69,7 @@ public class XMLRenderer implements Renderer { /** * set up renderer options */ - public void setOptions(Hashtable options) { + public void setOptions(java.util.HashMap options) { this.options = options; Boolean con = (Boolean)options.get("consistentOutput"); if(con != null) {