org.sbml.jsbml.validator
public class SBMLValidator extends java.lang.Object
usage: java org.sbml.jsbml.validator.SBMLValidator [-h] [-d opt1[,opt2,...]]
filename.xml
usage: java validateSBML [-h] [-d opt1[,opt2,...]] http://...
| Modifier and Type | Class and Description |
|---|---|
static class |
SBMLValidator.CHECK_CATEGORY
Enumerates the different possible check categories
when performing the validation of an SBML document.
|
| Constructor and Description |
|---|
SBMLValidator() |
| Modifier and Type | Method and Description |
|---|---|
static SBMLErrorLog |
checkConsistency(java.lang.String xmlValidationString)
Parses the XML String returned by the libSBML online validator or web services.
|
static SBMLErrorLog |
checkConsistency(java.lang.String fileName,
java.util.HashMap<java.lang.String,java.lang.String> parameters)
Validates an SBML model using the
SBML.org online validator (http://sbml.org/validator/).
|
static void |
main(java.lang.String[] args) |
(package private) static void |
print(java.io.InputStream source,
java.io.OutputStream destination) |
(package private) static void |
print(java.io.Reader source,
java.io.Writer destination) |
(package private) static void |
usage() |
static void usage()
public static void main(java.lang.String[] args)
args - static void print(java.io.InputStream source,
java.io.OutputStream destination)
throws java.io.IOException
java.io.IOExceptionstatic void print(java.io.Reader source,
java.io.Writer destination)
throws java.io.IOException
java.io.IOExceptionpublic static SBMLErrorLog checkConsistency(java.lang.String fileName, java.util.HashMap<java.lang.String,java.lang.String> parameters)
You can control the consistency checks that are performed when
#checkConsistency() is called with the HashMap of
parameters given.
It will fill the SBMLErrorLog
with SBMLErrors for each problem within this whole model.
If this method returns a non empty SBMLErrorLog, the failures may be
due to warnings @em or errors. Callers should inspect the severity
flag in the individual SBMLError objects to determine the nature of the failures.
fileName - a file nameparameters - parameters for the libsbml checkConsistency()SBMLErrorLog containing the list of errors.public static SBMLErrorLog checkConsistency(java.lang.String xmlValidationString)
It will fill the SBMLErrorLog
with SBMLErrors for each problem within this whole model.
If this method returns a non empty SBMLErrorLog, the failures may be
due to warnings @em or errors. Callers should inspect the severity
flag in the individual SBMLError objects to determine the nature of the failures.
fileName - a file nameparameters - parameters for the libsbml checkConsistency()SBMLErrorLog containing the list of errors.