Validates the
SBMLDocument using the JSBML internal
offline validator.
You can control the consistency checks that are performed when
#checkConsistencyOffline() is called with the
#setConsistencyChecks(CHECK_CATEGORY,boolean) method.
It will fill this
SBMLDocument's
#listOfErrorswith
SBMLErrors for each problem within this whole data
structure. You will then be able to obtain this list by calling
#getError(int) or
#getListOfErrors().
If this method returns a nonzero value (meaning, one or more
consistency checks have failed for SBML document), the failures may be
due to warnings or errors. Callers should inspect the severity
flag in the individual SBMLError objects returned by
SBMLDocument#getError(int) to determine the nature of the failures.
The offline validator is not yet as complete as the online one so it is not
currently used by default when calling
#checkConsistency() but it might be
in future versions. To get an up to date status, please check the page
Offline-validator-status.