uk.ac.ebi.intact.application.graph2MIF.conversion
Class Graph2UnfoldedMIF

java.lang.Object
  |
  +--uk.ac.ebi.intact.application.graph2MIF.conversion.Graph2UnfoldedMIF

public class Graph2UnfoldedMIF
extends java.lang.Object

This class gives IntAct the possibillity to give out a graph to MIF-PSI-Format in XML. see http://psidev.sf.net for details

Version:
$Id: Graph2UnfoldedMIF.java,v 1.4 2004/03/24 11:46:03 skerrien Exp $
Author:
Henning Mersch (hmersch@ebi.ac.uk)

Constructor Summary
Graph2UnfoldedMIF()
          Contructor without parameter - strict MIF will be produced or Exception will be thrown
Graph2UnfoldedMIF(java.lang.Boolean strictmif)
          Contructor with parameter
 
Method Summary
 org.w3c.dom.Document getMIF(Graph graph)
          The only public function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Graph2UnfoldedMIF

public Graph2UnfoldedMIF()
Contructor without parameter - strict MIF will be produced or Exception will be thrown


Graph2UnfoldedMIF

public Graph2UnfoldedMIF(java.lang.Boolean strictmif)
Contructor with parameter

Parameters:
strictmif - defines wether MIF should be strict produced or not.
Method Detail

getMIF

public org.w3c.dom.Document getMIF(Graph graph)
                            throws GraphNotConvertableException
The only public function. Calling this with a Graph object will give you a complete DOM object according to PSI MIF specification, which you can easily can print out.

Parameters:
graph - to convert to PSI-Format
Returns:
DOM-Object, representing a XML Document in PSI-Format
Throws:
GraphNotConvertableException - if PSIrequired Elements are missing within graph


IntAct Project - EMBL-EBI 2004 - intact-help@ebi.ac.uk