public class RegularDiff extends Diff
connections, treeA, treeB
Constructor and Description |
---|
RegularDiff(File fileA,
File fileB)
Instantiates a new regular diff object in order to compare two documents
stored in files fileA and fileB.
|
RegularDiff(String docA,
String docB)
Instantiates a new regular diff object in order to compare two documents
stored in strings docA and docB.
|
RegularDiff(de.unirostock.sems.xmlutils.ds.TreeDocument treeA,
de.unirostock.sems.xmlutils.ds.TreeDocument treeB)
Instantiates a new regular diff object in order to compare two tree
documents.
|
Modifier and Type | Method and Description |
---|---|
String |
getCRNDotGraph()
Returns the graph of the chemical reaction network encoded in DOT language.
|
Object |
getCRNGraph(GraphTranslator gt)
Returns the graph of the chemical reaction network providing an own graph
translator.
|
String |
getCRNGraphML()
Returns the graph of the chemical reaction network encoded in GraphML.
|
String |
getCRNJsonGraph()
Returns the graph of the chemical reaction network encoded in JSON.
|
String |
getHierarchyDotGraph()
Returns the component's hierarchy graph encoded in DOT language.
|
String |
getHierarchyGraph(GraphTranslator gt)
Returns the component's hierarchy graph providing an own graph translator.
|
String |
getHierarchyGraphML()
Returns the component's hierarchy graph encoded in GraphML.
|
String |
getHierarchyJsonGraph()
Returns the component's hierarchy graph encoded in JSON.
|
String |
getHTMLReport()
Returns the report encoded in HTML.
|
String |
getMarkDownReport()
Returns the report encoded MarkDown.
|
String |
getReport(Typesetting ts)
Returns the report providing an on markup processor.
|
String |
getReStructuredTextReport()
Returns the report encoded in ReStructured text.
|
boolean |
mapTrees()
Map both trees.
|
public RegularDiff(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 RegularDiff(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 RegularDiff(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 boolean mapTrees() throws BivesConnectionException
Diff
mapTrees
in class Diff
BivesConnectionException
public Object getCRNGraph(GraphTranslator gt) throws Exception
Diff
getCRNGraph
in class Diff
gt
- the graph translatorException
- the exceptionpublic String getCRNGraphML()
Diff
getCRNGraphML
in class Diff
public String getCRNDotGraph()
Diff
getCRNDotGraph
in class Diff
public String getHTMLReport()
Diff
getHTMLReport
in class Diff
public String getMarkDownReport()
Diff
getMarkDownReport
in class Diff
public String getReStructuredTextReport()
Diff
getReStructuredTextReport
in class Diff
public String getHierarchyGraph(GraphTranslator gt)
Diff
getHierarchyGraph
in class Diff
gt
- the graph translatorpublic String getHierarchyGraphML()
Diff
getHierarchyGraphML
in class Diff
public String getHierarchyDotGraph()
Diff
getHierarchyDotGraph
in class Diff
public String getCRNJsonGraph()
Diff
getCRNJsonGraph
in class Diff
public String getHierarchyJsonGraph()
Diff
getHierarchyJsonGraph
in class Diff
public String getReport(Typesetting ts)
Diff
Copyright © 2014 SEMS project @ University of Rostock. All rights reserved.