public class DocumentClassifier extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CELLML
The Constant CELLML.
|
static int |
SBML
The Constant SBML.
|
static int |
UNKNOWN
The Constant UNKNOWN.
|
static int |
XML
The Constant XML.
|
Constructor and Description |
---|
DocumentClassifier() |
Modifier and Type | Method and Description |
---|---|
static org.json.simple.JSONArray |
asJson(int type)
Human readable.
|
int |
classify(File model)
Classify.
|
int |
classify(InputStream model,
URI baseUri)
Classify.
|
int |
classify(String model)
Classify.
|
int |
classify(de.unirostock.sems.xmlutils.ds.TreeDocument model)
Classify.
|
de.unirostock.sems.bives.cellml.parser.CellMLDocument |
getCellMlDocument()
Gets the cell ml document.
|
List<Exception> |
getExceptions()
Gets the exceptions.
|
de.unirostock.sems.bives.sbml.parser.SBMLDocument |
getSbmlDocument()
Gets the sbml document.
|
de.unirostock.sems.xmlutils.ds.TreeDocument |
getXmlDocument()
Gets the xml document.
|
static String |
humanReadable(int type)
Human readable.
|
public static final int UNKNOWN
public static final int XML
public static final int SBML
public static final int CELLML
public de.unirostock.sems.xmlutils.ds.TreeDocument getXmlDocument()
public de.unirostock.sems.bives.cellml.parser.CellMLDocument getCellMlDocument()
public de.unirostock.sems.bives.sbml.parser.SBMLDocument getSbmlDocument()
public int classify(InputStream model, URI baseUri)
model
- the modelbaseUri
- the base uripublic int classify(de.unirostock.sems.xmlutils.ds.TreeDocument model)
model
- the modelpublic int classify(String model)
model
- the modelpublic int classify(File model)
model
- the modelpublic static String humanReadable(int type)
type
- the typepublic static org.json.simple.JSONArray asJson(int type)
type
- the typeCopyright © 2019 SEMS project @ University of Rostock. All rights reserved.