public class LayoutSpeciesReferencePlugin extends SBasePlugin
SpeciesReference
.Constructor and Description |
---|
LayoutSpeciesReferencePlugin(LayoutSpeciesReferencePlugin orig)
Copy constructor.
|
LayoutSpeciesReferencePlugin(java.lang.String uri,
java.lang.String prefix,
LayoutPkgNamespaces layoutns)
Creates a new
LayoutSpeciesReferencePlugin object using the given parameters. |
Modifier and Type | Method and Description |
---|---|
SBasePlugin |
cloneObject()
Creates and returns a deep copy of this
LayoutSpeciesReferencePlugin object. |
void |
delete()
Explicitly deletes the underlying native object.
|
getElementByMetaId, getElementBySId, getElementNamespace, getLevel, getListOfAllElements, getListOfAllElements, getPackageName, getPackageVersion, getParentSBMLObject, getPrefix, getSBMLDocument, getURI, getVersion, isValidTypeForList, renameMetaIdRefs, renameSIdRefs, renameUnitSIdRefs, setElementNamespace
public LayoutSpeciesReferencePlugin(java.lang.String uri, java.lang.String prefix, LayoutPkgNamespaces layoutns)
LayoutSpeciesReferencePlugin
object using the given parameters.
In the XML representation of an SBML document, XML namespaces are used to
identify the origin of each XML construct used. XML namespaces are
identified by their unique resource identifiers (URIs). The core SBML
specifications stipulate the namespaces that must be used for core SBML
constructs for example, all XML elements that belong to SBML Level 3
Version 1 Core must be placed in the XML namespace identified by the URI
'http://www.sbml.org/sbml/level3/version1/core'
. Individual
SBML Level 3 packages define their own XML namespaces for example,
all elements belonging to the SBML Level 3 Layout Version 1
package must be placed in the XML namespace
'http://www.sbml.org/sbml/level3/version1/layout/version1/'
.
The SBMLNamespaces
object encapsulates SBML Level/Version/namespaces
information. It is used to communicate the SBML Level, Version, and (in
Level 3) packages used in addition to SBML Level 3 Core. A
common approach to using libSBML's SBMLNamespaces
facilities is to create an
SBMLNamespaces
object somewhere in a program once, then hand that object
as needed to object constructors that accept SBMLNamespaces
as arguments.
uri
- the URI of the SBML Level 3 package implemented by
this libSBML package extension.
prefix
- the XML namespace prefix being used for the package.
layoutns
- the namespaces object for the package.public LayoutSpeciesReferencePlugin(LayoutSpeciesReferencePlugin orig)
SBase
object.
orig
- the instance to copy.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 LayoutSpeciesReferencePlugin.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 LayoutSpeciesReferencePlugin.delete()
themselves.
delete
 in class SBasePlugin
public SBasePlugin cloneObject()
LayoutSpeciesReferencePlugin
object.
cloneObject
 in class SBasePlugin
LayoutSpeciesReferencePlugin
object.