public abstract class Diff extends Object
Modifier and Type | Field and Description |
---|---|
protected SimpleConnectionManager |
connections
The connections.
|
protected de.unirostock.sems.xmlutils.ds.TreeDocument |
treeA
The tree corresponding to the former version.
|
protected de.unirostock.sems.xmlutils.ds.TreeDocument |
treeB
The tree corresponding to the later version.
|
Constructor and Description |
---|
Diff(File fileA,
File fileB)
Instantiates a new diff object in order to compare two documents stored in
files fileA and fileB.
|
Diff(String docA,
String docB)
Instantiates a new diff object in order to compare two documents stored in
strings docA and docB.
|
Diff(de.unirostock.sems.xmlutils.ds.TreeDocument treeA,
de.unirostock.sems.xmlutils.ds.TreeDocument treeB)
Instantiates a new diff object in order to compare two tree documents.
|
Modifier and Type | Method and Description |
---|---|
String |
getCRNDotGraph()
Deprecated.
As of 1.3.3 replaced by
getReactionsDotGraph() |
Object |
getCRNGraph(GraphTranslator gt)
Deprecated.
As of 1.3.3 replaced by
getReactionsGraph(de.unirostock.sems.bives.ds.graph.GraphTranslator) |
String |
getCRNGraphML()
Deprecated.
As of 1.3.3 replaced by
getReactionsGraphML() |
String |
getCRNJsonGraph()
Deprecated.
As of 1.3.3 replaced by
getReactionsJsonGraph() |
String |
getDiff()
Gets the diff as a string, encoded in XML.
|
abstract String |
getHierarchyDotGraph()
Returns the component's hierarchy graph encoded in DOT language.
|
abstract Object |
getHierarchyGraph(GraphTranslator gt)
Returns the component's hierarchy graph providing an own graph translator.
|
abstract String |
getHierarchyGraphML()
Returns the component's hierarchy graph encoded in GraphML.
|
abstract String |
getHierarchyJsonGraph()
Returns the component's hierarchy graph encoded in JSON.
|
abstract String |
getHTMLReport()
Returns the report encoded in HTML.
|
abstract String |
getMarkDownReport()
Returns the report encoded MarkDown.
|
Patch |
getPatch()
Gets the patch object.
|
abstract String |
getReactionsDotGraph()
Returns the graph of the reaction network encoded in DOT language.
|
abstract Object |
getReactionsGraph(GraphTranslator gt)
Returns the graph of the reaction network providing an own graph
translator.
|
abstract String |
getReactionsGraphML()
Returns the graph of the reaction network encoded in GraphML.
|
abstract String |
getReactionsJsonGraph()
Returns the graph of the reaction network encoded in JSON.
|
abstract String |
getReport(Typesetting ts)
Returns the report providing an on markup processor.
|
abstract String |
getReStructuredTextReport()
Returns the report encoded in ReStructured text.
|
abstract boolean |
mapTrees()
Map both trees.
|
protected de.unirostock.sems.xmlutils.ds.TreeDocument treeA
protected de.unirostock.sems.xmlutils.ds.TreeDocument treeB
protected SimpleConnectionManager connections
public Diff(File fileA, File fileB) throws de.unirostock.sems.xmlutils.exception.XmlDocumentParseException, IOException, org.jdom2.JDOMException
fileA
- the file containing the former versionfileB
- the file containing the later versionde.unirostock.sems.xmlutils.exception.XmlDocumentParseException
- the xml document parse exceptionIOException
- Signals that an I/O exception has occurred.org.jdom2.JDOMException
- the jDOM exceptionpublic Diff(String docA, String docB) throws de.unirostock.sems.xmlutils.exception.XmlDocumentParseException, IOException, org.jdom2.JDOMException
docA
- the former versiondocB
- the later versionde.unirostock.sems.xmlutils.exception.XmlDocumentParseException
- the xml document parse exceptionIOException
- Signals that an I/O exception has occurred.org.jdom2.JDOMException
- the jDOM exceptionpublic Diff(de.unirostock.sems.xmlutils.ds.TreeDocument treeA, de.unirostock.sems.xmlutils.ds.TreeDocument treeB)
treeA
- the former version of the treetreeB
- the later version of the treepublic String getDiff()
public Patch getPatch()
public abstract boolean mapTrees() throws Exception
Exception
- the exception@Deprecated public Object getCRNGraph(GraphTranslator gt) throws Exception
getReactionsGraph(de.unirostock.sems.bives.ds.graph.GraphTranslator)
gt
- the graph translatorException
- the exceptionpublic abstract Object getReactionsGraph(GraphTranslator gt) throws Exception
gt
- the graph translatorException
- the exceptionpublic abstract Object getHierarchyGraph(GraphTranslator gt) throws Exception
gt
- the graph translatorException
- the exception@Deprecated public String getCRNGraphML() throws Exception
getReactionsGraphML()
Exception
public abstract String getReactionsGraphML() throws Exception
Exception
public abstract String getHierarchyGraphML() throws Exception
Exception
@Deprecated public String getCRNDotGraph() throws Exception
getReactionsDotGraph()
Exception
public abstract String getReactionsDotGraph() throws Exception
Exception
public abstract String getHierarchyDotGraph() throws Exception
Exception
@Deprecated public String getCRNJsonGraph() throws Exception
getReactionsJsonGraph()
Exception
public abstract String getReactionsJsonGraph() throws Exception
Exception
public abstract String getHierarchyJsonGraph() throws Exception
Exception
public abstract String getReport(Typesetting ts) throws Exception
ts
- the tsException
public abstract String getHTMLReport() throws Exception
Exception
public abstract String getMarkDownReport() throws Exception
Exception
Copyright © 2014 SEMS project @ University of Rostock. All rights reserved.