uk.ac.ebi.intact.application.graph2MIF
Class Graph2MIFWSService

java.lang.Object
  |
  +--uk.ac.ebi.intact.application.graph2MIF.Graph2MIFWSService
All Implemented Interfaces:
Graph2MIFWS

public class Graph2MIFWSService
extends java.lang.Object
implements Graph2MIFWS

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

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

Constructor Summary
Graph2MIFWSService()
           
 
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 for access.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Graph2MIFWSService

public Graph2MIFWSService()
Method Detail

getMIF

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

Specified by:
getMIF in interface Graph2MIFWS
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