keiron      01/07/31 05:51:18

  Modified:    src/org/apache/fop/apps XTDriver.java
  Log:
  don't need to add prop mappings anymore
  
  Revision  Changes    Path
  1.6       +1 -30     xml-fop/src/org/apache/fop/apps/XTDriver.java
  
  Index: XTDriver.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/apps/XTDriver.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- XTDriver.java     2001/07/30 20:29:18     1.5
  +++ XTDriver.java     2001/07/31 12:51:18     1.6
  @@ -1,5 +1,5 @@
   /*
  - * $Id: XTDriver.java,v 1.5 2001/07/30 20:29:18 tore Exp $
  + * $Id: XTDriver.java,v 1.6 2001/07/31 12:51:18 keiron Exp $
    * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
    * For details on use and redistribution please refer to the
    * LICENSE file included with these sources.
  @@ -175,35 +175,6 @@
           } catch (ClassCastException e) {
               MessageHandler.errorln(mappingClassName
                                      + " is not an element mapping");
  -        }
  -        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;
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to