public class LayoutPkgNamespaces extends SBMLNamespaces
Constructor and Description |
---|
LayoutPkgNamespaces()   |
LayoutPkgNamespaces(LayoutPkgNamespaces orig)
Copy constructor creates a copy of a
SBMLExtensionNamespaces . |
LayoutPkgNamespaces(long level)   |
LayoutPkgNamespaces(long level,
long version)   |
LayoutPkgNamespaces(long level,
long version,
long pkgVersion)   |
LayoutPkgNamespaces(long level,
long version,
long pkgVersion,
String prefix)   |
Modifier and Type | Method and Description |
---|---|
SBMLNamespaces |
cloneObject()
Creates and returns a deep copy of this
SBMLNamespaces . |
void |
delete()
Explicitly deletes the underlying native object.
|
String |
getPackageName()
Returns the name of the main package for this namespace.
|
long |
getPackageVersion()   |
String |
getURI()
Returns a string representing the SBML XML namespace of this
object.
|
addNamespace, addNamespaces, addPackageNamespace, addPackageNamespace, addPackageNamespaces, equals, getLevel, getNamespaces, getSBMLNamespaceURI, getSupportedNamespaces, getVersion, hashCode, isSBMLNamespace, isValidCombination, removeNamespace, removePackageNamespace
public LayoutPkgNamespaces() throws SBMLConstructorException
SBMLConstructorException
public LayoutPkgNamespaces(LayoutPkgNamespaces orig) throws SBMLConstructorException
SBMLExtensionNamespaces
.
orig
- the SBMLExtensionNamespaces
instance to copy.SBMLConstructorException
public LayoutPkgNamespaces(long level) throws SBMLConstructorException
SBMLConstructorException
public LayoutPkgNamespaces(long level, long version) throws SBMLConstructorException
SBMLConstructorException
public LayoutPkgNamespaces(long level, long version, long pkgVersion) throws SBMLConstructorException
SBMLConstructorException
public LayoutPkgNamespaces(long level, long version, long pkgVersion, String prefix) throws SBMLConstructorException
SBMLConstructorException
public SBMLNamespaces cloneObject()
SBMLNamespaces
.
cloneObject
 in class SBMLNamespaces
SBMLNamespaces
.public void delete()
In general, application software will not need to call this method directly. The Java language binding for libSBML is implemented as a language wrapper that provides a Java interface to libSBML's underlying C++/C code. Some of the Java methods return objects that are linked to objects created not by Java code, but by C++ code. The Java objects wrapped around them will be deleted when the garbage collector invokes the corresponding C++ finalize()
methods for the objects. The finalize()
methods in turn call the LayoutPkgNamespaces.delete()
method on the libSBML object.
This method is exposed in case calling programs want to ensure that the underlying object is freed immediately, and not at some arbitrary time determined by the Java garbage collector. In normal usage, callers do not need to invoke LayoutPkgNamespaces.delete()
themselves.
delete
 in class SBMLNamespaces
public String getPackageName()
getPackageName
 in class SBMLNamespaces
public long getPackageVersion()
public String getURI()
getURI
 in class SBMLNamespaces