org.primordion.cellontro.io.sbml
Class Sbml2Cellontro

java.lang.Object
  extended byorg.primordion.cellontro.io.sbml.Sbml2Cellontro
All Implemented Interfaces:
ISbml2Cellontro

public class Sbml2Cellontro
extends java.lang.Object
implements ISbml2Cellontro

Sbml2Cellontro transforms SBML files into Xholon/Cellontro model files. This is a standalone application that runs separately from a Cellontro application. To execute a model specified in an SBML file: (1) transform it from SBML to Xholon/Cellontro format using this program, (2) execute AppSbml passing in the name of the newly generated application as a parameter.

Since:
0.2 (Created on December 7, 2005)
Author:
Ken Webb
See Also:
AppSbml.java, copyright, license, and author information in the writeXhNode() method.

Constructor Summary
Sbml2Cellontro()
          Constructor.
Sbml2Cellontro(java.lang.String sbmlFileName)
          Constructor.
 
Method Summary
 boolean initialize(java.lang.String sbmlFileName)
          Initialize the reader, document and model.
static void main(java.lang.String[] args)
          main
 void writeAll()
          Write all xml, text and java files.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sbml2Cellontro

public Sbml2Cellontro()
Constructor.


Sbml2Cellontro

public Sbml2Cellontro(java.lang.String sbmlFileName)
Constructor.

Parameters:
sbmlFileName - Name of the SBML file to be read in.
Method Detail

initialize

public boolean initialize(java.lang.String sbmlFileName)
Description copied from interface: ISbml2Cellontro
Initialize the reader, document and model.

Specified by:
initialize in interface ISbml2Cellontro
Parameters:
sbmlFileName - Name of an SBML XML file.
Returns:
true if it succeeded, false otherwise

writeAll

public void writeAll()
Description copied from interface: ISbml2Cellontro
Write all xml, text and java files.

Specified by:
writeAll in interface ISbml2Cellontro

main

public static void main(java.lang.String[] args)
main

Parameters:
args -