public class PackageDisabler
extends java.lang.Object
Constructor | Description |
---|---|
PackageDisabler(SBMLDocument document) |
Instantiates a PackageDisabler on the given SBMLDocument
|
Modifier and Type | Method | Description |
---|---|---|
void |
disableUnused() |
Check namespaces for unused packages and remove them
|
void |
removePackage(java.lang.String nameOrUri) |
Forcefully remove all occurrences of the package given by nameOrUri
|
public PackageDisabler(SBMLDocument document)
PackageDisabler provides a method to remove unused packages that correspond
to SBasePlugin
across a SBMLDocument
Additionally specific packages can be forcefully removed by use of
removePackage
document
- SBMLDocument
to run the disabler on