public class SBMLDiff
extends de.unirostock.sems.bives.api.Diff
Modifier and Type | Field | Description |
---|---|---|
protected SBMLDocument |
doc1 |
The original document.
|
protected SBMLDocument |
doc2 |
The modified document.
|
protected SBMLGraphProducer |
graphProducer |
The graph producer.
|
protected SBMLDiffInterpreter |
interpreter |
The interpreter.
|
Constructor | Description |
---|---|
SBMLDiff(SBMLDocument a,
SBMLDocument b) |
Instantiates a new SBML differ.
|
SBMLDiff(SBMLDocument a,
SBMLDocument b,
de.unirostock.sems.bives.algorithm.DiffAnnotator diffAnnotator) |
Instantiates a new SBML differ.
|
SBMLDiff(de.unirostock.sems.xmlutils.ds.TreeDocument a,
de.unirostock.sems.xmlutils.ds.TreeDocument b) |
Instantiates a new SBML differ.
|
SBMLDiff(de.unirostock.sems.xmlutils.ds.TreeDocument a,
de.unirostock.sems.xmlutils.ds.TreeDocument b,
de.unirostock.sems.bives.algorithm.DiffAnnotator diffAnnotator) |
Instantiates a new SBML differ.
|
SBMLDiff(File a,
File b) |
Instantiates a new SBML differ.
|
SBMLDiff(File a,
File b,
de.unirostock.sems.bives.algorithm.DiffAnnotator diffAnnotator) |
Instantiates a new SBML differ.
|
SBMLDiff(String a,
String b) |
Instantiates a new SBML differ.
|
SBMLDiff(String a,
String b,
de.unirostock.sems.bives.algorithm.DiffAnnotator diffAnnotator) |
Instantiates a new SBML differ.
|
Modifier and Type | Method | Description |
---|---|---|
String |
getHierarchyDotGraph() |
|
Object |
getHierarchyGraph(de.unirostock.sems.bives.ds.graph.GraphTranslator gt) |
|
String |
getHierarchyGraphML() |
|
String |
getHierarchyJsonGraph() |
|
String |
getHTMLReport() |
|
String |
getMarkDownReport() |
|
String |
getReactionsDotGraph() |
|
Object |
getReactionsGraph(de.unirostock.sems.bives.ds.graph.GraphTranslator gt) |
|
String |
getReactionsGraphML() |
|
String |
getReactionsJsonGraph() |
|
String |
getReactionsSbgnJsonGraph() |
|
String |
getReport(de.unirostock.sems.bives.markup.Typesetting ts) |
|
String |
getReStructuredTextReport() |
|
boolean |
mapTrees(boolean allowDifferentIds,
boolean careAboutNames,
boolean stricterNames) |
protected SBMLDocument doc1
protected SBMLDocument doc2
protected SBMLGraphProducer graphProducer
protected SBMLDiffInterpreter interpreter
public SBMLDiff(File a, File b, de.unirostock.sems.bives.algorithm.DiffAnnotator diffAnnotator) throws BivesSBMLParseException, de.unirostock.sems.bives.exception.BivesDocumentConsistencyException, de.unirostock.sems.xmlutils.exception.XmlDocumentParseException, IOException, org.jdom2.JDOMException
a
- the file containing the original SBML modelb
- the file containing the modified SBML modeldiffAnnotator
- the diff annotatorBivesSBMLParseException
- the bives sbml parse exceptionde.unirostock.sems.bives.exception.BivesDocumentConsistencyException
- the bives document consistency exceptionde.unirostock.sems.xmlutils.exception.XmlDocumentParseException
- the xml document parse exceptionIOException
- Signals that an I/O exception has occurred.org.jdom2.JDOMException
- the jDOM exceptionpublic SBMLDiff(String a, String b, de.unirostock.sems.bives.algorithm.DiffAnnotator diffAnnotator) throws de.unirostock.sems.xmlutils.exception.XmlDocumentParseException, IOException, org.jdom2.JDOMException, BivesSBMLParseException, de.unirostock.sems.bives.exception.BivesDocumentConsistencyException
a
- the XML code representing the original SBML modelb
- the XML code representing the modified SBML modeldiffAnnotator
- the diff annotatorde.unirostock.sems.xmlutils.exception.XmlDocumentParseException
- the xml document parse exceptionIOException
- Signals that an I/O exception has occurred.org.jdom2.JDOMException
- the jDOM exceptionBivesSBMLParseException
- the bives sbml parse exceptionde.unirostock.sems.bives.exception.BivesDocumentConsistencyException
- the bives document consistency exceptionpublic SBMLDiff(de.unirostock.sems.xmlutils.ds.TreeDocument a, de.unirostock.sems.xmlutils.ds.TreeDocument b, de.unirostock.sems.bives.algorithm.DiffAnnotator diffAnnotator) throws BivesSBMLParseException, de.unirostock.sems.bives.exception.BivesDocumentConsistencyException
a
- the tree document representing the original modelb
- the tree document representing the modified modeldiffAnnotator
- the diff annotatorBivesSBMLParseException
- the bives sbml parse exceptionde.unirostock.sems.bives.exception.BivesDocumentConsistencyException
- the bives document consistency exceptionpublic SBMLDiff(SBMLDocument a, SBMLDocument b, de.unirostock.sems.bives.algorithm.DiffAnnotator diffAnnotator)
a
- the original documentb
- the modified documentdiffAnnotator
- the diff annotatorpublic SBMLDiff(File a, File b) throws BivesSBMLParseException, de.unirostock.sems.bives.exception.BivesDocumentConsistencyException, de.unirostock.sems.xmlutils.exception.XmlDocumentParseException, IOException, org.jdom2.JDOMException
a
- the file containing the original SBML modelb
- the file containing the modified SBML modelBivesSBMLParseException
- the bives sbml parse exceptionde.unirostock.sems.bives.exception.BivesDocumentConsistencyException
- the bives document consistency exceptionde.unirostock.sems.xmlutils.exception.XmlDocumentParseException
- the xml document parse exceptionIOException
- Signals that an I/O exception has occurred.org.jdom2.JDOMException
- the jDOM exceptionpublic SBMLDiff(String a, String b) throws de.unirostock.sems.xmlutils.exception.XmlDocumentParseException, IOException, org.jdom2.JDOMException, BivesSBMLParseException, de.unirostock.sems.bives.exception.BivesDocumentConsistencyException
a
- the XML code representing the original SBML modelb
- the XML code representing the modified SBML modelde.unirostock.sems.xmlutils.exception.XmlDocumentParseException
- the xml document parse exceptionIOException
- Signals that an I/O exception has occurred.org.jdom2.JDOMException
- the jDOM exceptionBivesSBMLParseException
- the bives sbml parse exceptionde.unirostock.sems.bives.exception.BivesDocumentConsistencyException
- the bives document consistency exceptionpublic SBMLDiff(de.unirostock.sems.xmlutils.ds.TreeDocument a, de.unirostock.sems.xmlutils.ds.TreeDocument b) throws BivesSBMLParseException, de.unirostock.sems.bives.exception.BivesDocumentConsistencyException
a
- the tree document representing the original modelb
- the tree document representing the modified modelBivesSBMLParseException
- the bives sbml parse exceptionde.unirostock.sems.bives.exception.BivesDocumentConsistencyException
- the bives document consistency exceptionpublic SBMLDiff(SBMLDocument a, SBMLDocument b)
a
- the original documentb
- the modified documentpublic boolean mapTrees(boolean allowDifferentIds, boolean careAboutNames, boolean stricterNames) throws de.unirostock.sems.bives.exception.BivesConnectionException
mapTrees
in class de.unirostock.sems.bives.api.Diff
de.unirostock.sems.bives.exception.BivesConnectionException
public String getReactionsGraphML()
getReactionsGraphML
in class de.unirostock.sems.bives.api.Diff
public String getReport(de.unirostock.sems.bives.markup.Typesetting ts)
getReport
in class de.unirostock.sems.bives.api.Diff
public String getMarkDownReport()
getMarkDownReport
in class de.unirostock.sems.bives.api.Diff
public String getReStructuredTextReport()
getReStructuredTextReport
in class de.unirostock.sems.bives.api.Diff
public String getHTMLReport()
getHTMLReport
in class de.unirostock.sems.bives.api.Diff
public Object getReactionsGraph(de.unirostock.sems.bives.ds.graph.GraphTranslator gt) throws Exception
getReactionsGraph
in class de.unirostock.sems.bives.api.Diff
Exception
public String getReactionsDotGraph()
getReactionsDotGraph
in class de.unirostock.sems.bives.api.Diff
public String getReactionsJsonGraph()
getReactionsJsonGraph
in class de.unirostock.sems.bives.api.Diff
public Object getHierarchyGraph(de.unirostock.sems.bives.ds.graph.GraphTranslator gt)
getHierarchyGraph
in class de.unirostock.sems.bives.api.Diff
public String getHierarchyGraphML()
getHierarchyGraphML
in class de.unirostock.sems.bives.api.Diff
public String getHierarchyDotGraph()
getHierarchyDotGraph
in class de.unirostock.sems.bives.api.Diff
public String getHierarchyJsonGraph()
getHierarchyJsonGraph
in class de.unirostock.sems.bives.api.Diff
Copyright © 2018 SEMS project @ University of Rostock. All rights reserved.