public class SBMLResolverRegistry extends Object
Modifier and Type | Method and Description |
---|---|
int |
addResolver(SBMLResolver resolver)   |
void |
delete()
Explicitly deletes the underlying native object.
|
static SBMLResolverRegistry |
getInstance()   |
int |
getNumResolvers()   |
SBMLResolver |
getResolverByIndex(int index)   |
int |
removeResolver(int index)   |
SBMLDocument |
resolve(String uri)   |
SBMLDocument |
resolve(String uri,
String baseUri)   |
SBMLUri |
resolveUri(String uri)   |
SBMLUri |
resolveUri(String uri,
String baseUri)   |
public int addResolver(SBMLResolver resolver)
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 SBMLResolverRegistry.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 SBMLResolverRegistry.delete()
themselves.
public static SBMLResolverRegistry getInstance()
public int getNumResolvers()
public SBMLResolver getResolverByIndex(int index)
public int removeResolver(int index)
public SBMLDocument resolve(String uri)
public SBMLDocument resolve(String uri, String baseUri)
public SBMLUri resolveUri(String uri)
public SBMLUri resolveUri(String uri, String baseUri)