From be272bfff3cbb7fdcf17767a083373b04534533f Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Tue, 31 Jul 2001 12:51:18 +0000 Subject: [PATCH] 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 --- src/org/apache/fop/apps/XTDriver.java | 29 --------------------------- 1 file changed, 29 deletions(-) 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). * -- 2.39.5