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 |
---|---|
abstract String |
getCRNDotGraph()
Returns the graph of the chemical reaction network encoded in DOT language.
|
abstract Object |
getCRNGraph(GraphTranslator gt)
Returns the graph of the chemical reaction network providing an own graph
translator.
|
abstract String |
getCRNGraphML()
Returns the graph of the chemical reaction network encoded in GraphML.
|
abstract String |
getCRNJsonGraph()
Returns the graph of the chemical reaction network encoded in JSON.
|
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 |
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 exceptionpublic abstract Object getCRNGraph(GraphTranslator gt) throws Exception
gt
- the graph translatorException
- the exceptionpublic abstract Object getHierarchyGraph(GraphTranslator gt) throws Exception
gt
- the graph translatorException
- the exceptionpublic abstract String getCRNGraphML() throws Exception
Exception
public abstract String getHierarchyGraphML() throws Exception
Exception
public abstract String getCRNDotGraph() throws Exception
Exception
public abstract String getHierarchyDotGraph() throws Exception
Exception
public abstract String getCRNJsonGraph() 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.