Class SBMLDocument
- java.lang.Object
-
- de.unirostock.sems.bives.ds.ModelDocument
-
- de.unirostock.sems.bives.sbml.parser.SBMLDocument
-
public class SBMLDocument extends de.unirostock.sems.bives.ds.ModelDocument
The Class SBMLDocument representing a document holding an SBMLModel.- Author:
- Martin Scharm
-
-
Constructor Summary
Constructors Constructor Description SBMLDocument(de.unirostock.sems.xmlutils.ds.TreeDocument doc)
Instantiates a new SBML document.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flatten()
int
getLevel()
Gets the level.SBMLModel
getModel()
Gets the model.int
getVersion()
Gets the version.
-
-
-
Constructor Detail
-
SBMLDocument
public SBMLDocument(de.unirostock.sems.xmlutils.ds.TreeDocument doc) throws BivesSBMLParseException, de.unirostock.sems.bives.exception.BivesDocumentConsistencyException
Instantiates a new SBML document.- Parameters:
doc
- the XML document- Throws:
BivesSBMLParseException
- the bives sbml parse exceptionde.unirostock.sems.bives.exception.BivesDocumentConsistencyException
- the bives document consistency exception
-
-
Method Detail
-
getLevel
public int getLevel()
Gets the level.- Returns:
- the level
-
getVersion
public int getVersion()
Gets the version.- Returns:
- the version
-
getModel
public SBMLModel getModel()
Gets the model.- Returns:
- the model
-
-