public class CellMLDocument
extends de.unirostock.sems.bives.ds.ModelDocument
| Constructor | Description |
|---|---|
CellMLDocument(de.unirostock.sems.xmlutils.ds.TreeDocument doc) |
Instantiates a new cell ml document.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
associateRdfDescription(de.unirostock.sems.bives.ds.rdf.RDFDescription descr) |
Associate an rdf description.
|
boolean |
containsImports() |
Does this model contain imports?
|
void |
flatten() |
Flatten flatten the model encoded in this document.
|
CellMLModel |
getModel() |
Gets the encoded model.
|
void |
write(File dest) |
Write the document to disk.
|
public CellMLDocument(de.unirostock.sems.xmlutils.ds.TreeDocument doc)
throws BivesCellMLParseException,
de.unirostock.sems.bives.exception.BivesDocumentConsistencyException,
de.unirostock.sems.bives.exception.BivesLogicalException,
IOException,
URISyntaxException,
de.unirostock.sems.bives.exception.BivesImportException
doc - the document encoding the modelBivesCellMLParseException - the bives cell ml parse exceptionde.unirostock.sems.bives.exception.BivesDocumentConsistencyException - the bives document consistency exceptionde.unirostock.sems.bives.exception.BivesLogicalException - the bives logical exceptionIOException - Signals that an I/O exception has occurred.URISyntaxException - the uRI syntax exceptionde.unirostock.sems.bives.exception.BivesImportException - the bives import exceptionpublic CellMLModel getModel()
public boolean containsImports()
public void flatten()
throws de.unirostock.sems.bives.exception.BivesFlattenException,
de.unirostock.sems.bives.exception.BivesDocumentConsistencyException,
de.unirostock.sems.xmlutils.exception.XmlDocumentConsistencyException,
de.unirostock.sems.bives.exception.BivesLogicalException
flatten in class de.unirostock.sems.bives.ds.ModelDocumentde.unirostock.sems.bives.exception.BivesFlattenException - the bives flatten exceptionde.unirostock.sems.bives.exception.BivesDocumentConsistencyException - the bives document consistency exceptionde.unirostock.sems.xmlutils.exception.XmlDocumentConsistencyException - the xml document consistency exceptionde.unirostock.sems.bives.exception.BivesLogicalExceptionpublic void write(File dest) throws IOException
dest - the target fileIOException - Signals that an I/O exception has occurred.public void associateRdfDescription(de.unirostock.sems.bives.ds.rdf.RDFDescription descr)
descr - the descriptionCopyright © 2018 SEMS project @ University of Rostock. All rights reserved.