public abstract class Single extends Object
Modifier and Type | Field and Description |
---|---|
protected de.unirostock.sems.xmlutils.ds.TreeDocument |
tree
The tree.
|
Constructor and Description |
---|
Single(File file)
Instantiates a new single object reading the document from a file.
|
Single(String str)
Instantiates a new single object reading the document from a string.
|
Single(de.unirostock.sems.xmlutils.ds.TreeDocument tree)
Instantiates a new single object.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
flatten()
Flatten the document.
|
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.
|
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.
|
public Single(File file) throws de.unirostock.sems.xmlutils.exception.XmlDocumentParseException, IOException, org.jdom2.JDOMException
file
- the file containing the documentde.unirostock.sems.xmlutils.exception.XmlDocumentParseException
- the xml document parse exceptionIOException
- Signals that an I/O exception has occurred.org.jdom2.JDOMException
- the jDOM exceptionpublic Single(String str) throws de.unirostock.sems.xmlutils.exception.XmlDocumentParseException, IOException, org.jdom2.JDOMException
str
- the string containing the documentde.unirostock.sems.xmlutils.exception.XmlDocumentParseException
- the xml document parse exceptionIOException
- Signals that an I/O exception has occurred.org.jdom2.JDOMException
- the jDOM exceptionpublic Single(de.unirostock.sems.xmlutils.ds.TreeDocument tree)
tree
- the treepublic abstract String flatten() 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
Copyright © 2014 SEMS project @ University of Rostock. All rights reserved.