uk.ac.ebi.intact.application.graph2MIF
Interface Graph2MIFWS

All Known Implementing Classes:
Graph2MIFWSService

public interface Graph2MIFWS

Graph2MIFWS Interface This is the interface of The graph2MIF-WebService. Implementation in Graph2MIFWSService.java

Version:
$Id: Graph2MIFWS.java,v 1.4 2003/10/30 15:48:14 skerrien Exp $
Author:
Henning Mersch

Method Summary
 java.lang.String getMIF(java.lang.String ac, java.lang.Integer depth, java.lang.Boolean strictmif)
          getMIF is the only method which is necessary.
 

Method Detail

getMIF

public java.lang.String getMIF(java.lang.String ac,
                               java.lang.Integer depth,
                               java.lang.Boolean strictmif)
                        throws IntactException,
                               GraphNotConvertableException,
                               DataSourceException,
                               NoGraphRetrievedException,
                               MIFSerializeException,
                               NoInteractorFoundException
getMIF is the only method which is necessary.

Parameters:
ac - String ac in IntAct
depth - Integer of the depth the graph should be expanded
Returns:
String including a XML-Document in PSI-MIF-Format
Throws:
IntactException - thrown if search for interactor failed
GraphNotConvertableException - thrown if Graph failed requirements of MIF.
DataSourceException - thrown if could not retrieve graph from interactor
NoGraphRetrievedException - thrown if DOM-Object could not be serialized
MIFSerializeException - thrown if IntactHelper could not be created
NoInteractorFoundException - thrown if no Interactor found for ac


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