Class JSONConverter
java.lang.Object
de.uni_halle.informatik.biodata.mp.io.parsers.json.JSONConverter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Gene
convertGene
(org.sbml.jsbml.ext.fbc.GeneProduct g) convertGenes
(org.sbml.jsbml.Model model) static Metabolite
convertMetabolite
(org.sbml.jsbml.Species species) static List<Metabolite>
convertMetabolites
(org.sbml.jsbml.Model model) static Root
convertModel
(org.sbml.jsbml.Model model) static Reaction
convertReaction
(org.sbml.jsbml.Reaction r) convertReactions
(org.sbml.jsbml.Model model) static String
getJSONDocument
(org.sbml.jsbml.SBMLDocument doc) static String
getJSONModel
(org.sbml.jsbml.Model model)
-
Constructor Details
-
JSONConverter
public JSONConverter()
-
-
Method Details
-
convertModel
- Throws:
XMLStreamException
-
convertGenes
- Throws:
XMLStreamException
-
convertGene
- Throws:
XMLStreamException
-
convertMetabolites
public static List<Metabolite> convertMetabolites(org.sbml.jsbml.Model model) throws XMLStreamException - Throws:
XMLStreamException
-
convertMetabolite
public static Metabolite convertMetabolite(org.sbml.jsbml.Species species) throws XMLStreamException - Throws:
XMLStreamException
-
convertReactions
- Throws:
XMLStreamException
-
convertReaction
- Throws:
XMLStreamException
-
getJSONDocument
public static String getJSONDocument(org.sbml.jsbml.SBMLDocument doc) throws com.fasterxml.jackson.core.JsonProcessingException, XMLStreamException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
XMLStreamException
-
getJSONModel
public static String getJSONModel(org.sbml.jsbml.Model model) throws com.fasterxml.jackson.core.JsonProcessingException, XMLStreamException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
XMLStreamException
-