org.sbml.jsbml.xml.parsers
public interface PackageParser
Modifier and Type | Method and Description |
---|---|
SBasePlugin |
createPluginFor(SBase sbase)
|
java.lang.String |
getNamespaceFor(int level,
int version,
int packageVersion)
Gets the namespace for this package that correspond to the given SBML level, version
and the package version.
|
java.lang.String |
getPackageName()
Returns the short name of this package.
|
java.util.List<java.lang.String> |
getPackageNamespaces()
Returns a
List of all the valid namespaces for the package. |
boolean |
isRequired()
Returns the value of the
required attribute for this package. |
SBasePlugin createPluginFor(SBase sbase)
sbase
- - the sbase for which you want to create an SBasePlugin
SBasePlugin
corresponding to the given SBase
.java.lang.String getNamespaceFor(int level, int version, int packageVersion)
Returns null if the combined level, version and packageVersion is invalid or not known from the package parser implementation.
level
- - the SBML levelversion
- - the SBML versionpackageVersion
- - the package versionjava.util.List<java.lang.String> getPackageNamespaces()
List
of all the valid namespaces for the package.List
of all the valid namespaces for the package.java.lang.String getPackageName()
boolean isRequired()
required
attribute for this package.required
attribute for this package.