public class SBMLExternalValidator extends SBMLValidator
Constructor and Description |
---|
SBMLExternalValidator()
Constructor.
|
SBMLExternalValidator(SBMLExternalValidator arg0)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addArgument(String arg)
Adds the given argument to the list of additional arguments
|
void |
clearArguments()
Clear all additional arguments
|
SBMLValidator |
cloneObject()
Creates and returns a deep copy of this converter.
|
void |
delete()
Explicitly deletes the underlying native object.
|
String |
getArgument(long n)
Returns the argument for the given index.
|
long |
getNumArguments()   |
String |
getOutputFileName()   |
String |
getProgram()   |
String |
getSBMLFileName()   |
void |
setOutputFileName(String outputFileName)
Sets the output file name
|
void |
setProgram(String program)
Sets the name of the program to run
|
void |
setSBMLFileName(String sbmlFileName)
Sets the filename for the temporary file to be created
|
long |
validate()
the actual conversion
|
clearFailures, getDocument, getErrorLog, getFailure, getModel, getNumFailures, logFailure, setDocument, swigReleaseOwnership, swigTakeOwnership, validate, validate
public SBMLExternalValidator()
public SBMLExternalValidator(SBMLExternalValidator arg0)
public void addArgument(String arg)
arg
- the argumentpublic void clearArguments()
public SBMLValidator cloneObject()
cloneObject
 in class SBMLValidator
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 SBMLExternalValidator.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 SBMLExternalValidator.delete()
themselves.
delete
 in class SBMLValidator
public String getArgument(long n)
n
- the zero based index of the argument.
public long getNumArguments()
public String getOutputFileName()
public String getProgram()
public String getSBMLFileName()
public void setOutputFileName(String outputFileName)
outputFileName
- the name of the output XML filepublic void setProgram(String program)
program
- the program to be startedpublic void setSBMLFileName(String sbmlFileName)
sbmlFileName
- the temporary namepublic long validate()
validate
 in class SBMLValidator