public interface PackageParser
Modifier and Type | Method and Description |
---|---|
ASTNodePlugin |
createPluginFor(ASTNode astNode)
Creates a new
ASTNodePlugin for the given ASTNode
and add it to the ASTNodePlugin map of the ASTNode . |
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
.ASTNodePlugin createPluginFor(ASTNode astNode)
ASTNodePlugin
for the given ASTNode
and add it to the ASTNodePlugin
map of the ASTNode
.astNode
- - the astNode for which you want to create an ASTNodePlugin
ASTNodePlugin
corresponding to the given ASTNode
.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.