org.jscience.ml.sbml
Class SBMLLevel2Document

java.lang.Object
  extended by org.jscience.ml.sbml.SBMLLevel2Document

public class SBMLLevel2Document
extends java.lang.Object

This class represents a SBML Level 2 Document This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.


Constructor Summary
SBMLLevel2Document()
          Creates a new SBMLLevel2Document object.
SBMLLevel2Document(Model model)
          Creates a new instance of SBMLLevel2Document
 
Method Summary
 Model getModel()
          DOCUMENT ME!
 void setModel(Model m)
          DOCUMENT ME!
 void writeDocument(java.io.Writer writer)
          Writes an SBML document and closes the writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SBMLLevel2Document

public SBMLLevel2Document()
Creates a new SBMLLevel2Document object.


SBMLLevel2Document

public SBMLLevel2Document(Model model)
Creates a new instance of SBMLLevel2Document

Parameters:
model - DOCUMENT ME!
Method Detail

getModel

public Model getModel()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setModel

public void setModel(Model m)
DOCUMENT ME!

Parameters:
m - DOCUMENT ME!

writeDocument

public void writeDocument(java.io.Writer writer)
                   throws java.io.IOException
Writes an SBML document and closes the writer.

Parameters:
writer - DOCUMENT ME!
Throws:
java.io.IOException - DOCUMENT ME!