From: Keiron Liddle Date: Tue, 31 Jul 2001 12:51:18 +0000 (+0000) Subject: don't need to add prop mappings anymore X-Git-Tag: fop-0_20_0~30 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=be272bfff3cbb7fdcf17767a083373b04534533f;p=xmlgraphics-fop.git don't need to add prop mappings anymore git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194381 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/org/apache/fop/apps/XTDriver.java b/src/org/apache/fop/apps/XTDriver.java index 0fd8094d2..5a0e5f1fb 100644 --- a/src/org/apache/fop/apps/XTDriver.java +++ b/src/org/apache/fop/apps/XTDriver.java @@ -179,35 +179,6 @@ public class XTDriver { return null; } - /** - * add the element mapping with the given class name - */ - public void addPropertyList(String listClassName) { - createPropertyList(listClassName).addToBuilder(this.treeBuilder); - } - - /** - * protected method used by addPropertyList(String) to - * instantiate list mapping class - */ - protected PropertyListMapping createPropertyList(String listClassName) { - MessageHandler.logln("using property list mapping " + listClassName); - - try { - return (PropertyListMapping)Class.forName(listClassName).newInstance(); - } catch (ClassNotFoundException e) { - MessageHandler.errorln("Could not find " + listClassName); - } catch (InstantiationException e) { - MessageHandler.errorln("Could not instantiate " + listClassName); - } catch (IllegalAccessException e) { - MessageHandler.errorln("Could not access " + listClassName); - } catch (ClassCastException e) { - MessageHandler.errorln(listClassName - + " is not an property list"); - } - return null; - } - /** * return the tree builder (a SAX DocumentHandler). *