Class SBMLDocument


  • public class SBMLDocument
    extends de.unirostock.sems.bives.ds.ModelDocument
    The Class SBMLDocument representing a document holding an SBMLModel.
    Author:
    Martin Scharm
    • 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 exception
        de.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
      • flatten

        public void flatten()
                     throws Exception
        Specified by:
        flatten in class de.unirostock.sems.bives.ds.ModelDocument
        Throws:
        Exception