public class RegularDiff extends Diff
ALLOW_DIFFERENT_IDS, CARE_ABOUT_NAMES, connections, STRICTER_NAMES, 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 |
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 |
getReactionsDotGraph()
Returns the graph of the reaction network encoded in DOT language.
|
Object |
getReactionsGraph(GraphTranslator gt)
Returns the graph of the reaction network providing an own graph
translator.
|
String |
getReactionsGraphML()
Returns the graph of the reaction network encoded in GraphML.
|
String |
getReactionsJsonGraph()
Returns the graph of the reaction network encoded in JSON.
|
String |
getReactionsSbgnJsonGraph()
Returns the graph of the reaction network encoded in an SBGN-JSON format.
|
String |
getReport(Typesetting ts)
Returns the report providing an on markup processor.
|
String |
getReStructuredTextReport()
Returns the report encoded in ReStructured text.
|
boolean |
mapTrees(boolean allowDifferentIds,
boolean careAboutNames,
boolean stricterNames)
Map both trees.
|
getCRNDotGraph, getCRNGraph, getCRNGraphML, getCRNJsonGraph, getDiff, getDiff, getPatch, mapTreespublic 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(boolean allowDifferentIds,
boolean careAboutNames,
boolean stricterNames)
throws BivesConnectionException
DiffDiff.ALLOW_DIFFERENT_IDS, Diff.CARE_ABOUT_NAMES, and Diff.STRICTER_NAMES.mapTrees in class DiffallowDifferentIds - are mapped entities allowed to have different ids?careAboutNames - should we care about names?stricterNames - should we handle names very strictly?BivesConnectionExceptionpublic Object getReactionsGraph(GraphTranslator gt) throws Exception
DiffgetReactionsGraph in class Diffgt - the graph translatorException - the exceptionpublic String getReactionsGraphML()
DiffgetReactionsGraphML in class Diffpublic String getReactionsDotGraph()
DiffgetReactionsDotGraph in class Diffpublic String getHTMLReport()
DiffgetHTMLReport in class Diffpublic String getMarkDownReport()
DiffgetMarkDownReport in class Diffpublic String getReStructuredTextReport()
DiffgetReStructuredTextReport in class Diffpublic String getHierarchyGraph(GraphTranslator gt)
DiffgetHierarchyGraph in class Diffgt - the graph translatorpublic String getHierarchyGraphML()
DiffgetHierarchyGraphML in class Diffpublic String getHierarchyDotGraph()
DiffgetHierarchyDotGraph in class Diffpublic String getReactionsJsonGraph()
DiffgetReactionsJsonGraph in class Diffpublic String getHierarchyJsonGraph()
DiffgetHierarchyJsonGraph in class Diffpublic String getReport(Typesetting ts)
Diffpublic String getReactionsSbgnJsonGraph() throws Exception
DiffgetReactionsSbgnJsonGraph in class DiffException - the exceptionCopyright © 2019 SEMS project @ University of Rostock. All rights reserved.