uk.ac.ebi.adfconverter.tools.exporter
Class MAGEMLExporter

java.lang.Object
  extended byuk.ac.ebi.adfconverter.tools.exporter.MAGEMLExporter

public class MAGEMLExporter
extends java.lang.Object

Class used to export MAGE objects in a MAGE-ML file Due to the JAVA MAGEstk, a temporary file is created first and this file is red to obtain a "pretty" xml file with header, doctype and indentation

Version:
1 01 August 2004
Author:
Pierre MARGUERITE

Constructor Summary
MAGEMLExporter(java.lang.String dtdPath, java.lang.String _dtdPublicDoctype, java.lang.String _dtdSystemDoctype)
          Constructor of th MAGE-ML exporter specified the dtd file for all MAGE-ML file THe user can specified a doctype a system one (local file system) or public one (web).
 
Method Summary
static void export(java.io.File ADFFile, MAGEJava mageJava)
          Export a MAGEJava object in a MAGE-ML file create a temporay file in the temp directory (can be an issue), before obtaining a pretty and well form MAGE-File
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MAGEMLExporter

public MAGEMLExporter(java.lang.String dtdPath,
                      java.lang.String _dtdPublicDoctype,
                      java.lang.String _dtdSystemDoctype)
               throws MAGEMLExporterInitException
Constructor of th MAGE-ML exporter specified the dtd file for all MAGE-ML file THe user can specified a doctype a system one (local file system) or public one (web). From good pratice, should be public as:

Parameters:
dtdPath - the dtd path to test MAGE-ML before final export.
_dtdPublicDoctype - the public doctype for dtd declaration
_dtdSystemDoctype - the system doctype for dtd declaration
Throws:
MAGEMLExporterInitException - in case or error during the initialisation
Method Detail

export

public static void export(java.io.File ADFFile,
                          MAGEJava mageJava)
Export a MAGEJava object in a MAGE-ML file create a temporay file in the temp directory (can be an issue), before obtaining a pretty and well form MAGE-File

Parameters:
ADFFile - the converted ADF File (the adh)
mageJava - the MAGEJava object to convert


European Bioinformatics InstituteMicroarray Informatics Team