node   = addElement(parent, name, loader.getClass().getName(), false, false);
node   = addElement(parent, name, loader.getClass().getName(), false);
  public Element writeLoader(Element parent, Object o, String name)      throws Exception {        Element                       node;    weka.core.converters.Loader   loader;    File                          file;    // for debugging only    if (DEBUG)       trace(new Throwable(), name);        loader = (weka.core.converters.Loader) o;    node   = addElement(parent, name, loader.getClass().getName(), false, false);    // file    if (loader instanceof weka.core.converters.ArffLoader)      file = ((weka.core.converters.ArffLoader) loader).retrieveFile();    else if (loader instanceof weka.core.converters.C45Loader)      file = ((weka.core.converters.C45Loader) loader).retrieveFile();    else if (loader instanceof weka.core.converters.CSVLoader)      file = ((weka.core.converters.CSVLoader) loader).retrieveFile();    else if (loader instanceof weka.core.converters.SerializedInstancesLoader)      file = ((weka.core.converters.SerializedInstancesLoader) loader).retrieveFile();    else      file = null;    if (file == null)      System.out.println("WARNING: unknown loader class '" + loader.getClass().getName() + "' - cannot save!");        // only save it, if it's a real file!    if ( (file == null) || (file.isDirectory()) )      invokeWriteToXML(node, "", VAL_FILE);    else      invokeWriteToXML(node, file.getAbsolutePath(), VAL_FILE);        return node;  }