Package org.lemsml.export.sedml
Class SEDMLWriter
- java.lang.Object
-
- org.lemsml.export.base.ABaseWriter
-
- org.lemsml.export.base.AXMLWriter
-
- org.lemsml.export.sedml.SEDMLWriter
-
- All Implemented Interfaces:
IBaseWriter
public class SEDMLWriter extends AXMLWriter
-
-
Field Summary
Fields Modifier and Type Field Description static String
GLOBAL_TIME_SBML
static String
GLOBAL_TIME_SBML_MATHML
static String
PREF_SEDML_SCHEMA
static int
SEDML_LEVEL
static int
SEDML_VERSION
-
Fields inherited from class org.lemsml.export.base.AXMLWriter
INDENT
-
Fields inherited from class org.lemsml.export.base.ABaseWriter
format, lems, sli
-
-
Constructor Summary
Constructors Constructor Description SEDMLWriter(org.lemsml.jlems.core.type.Lems lems)
SEDMLWriter(org.lemsml.jlems.core.type.Lems lems, File outputFolder, String outputFileName, String inputFileName)
SEDMLWriter(org.lemsml.jlems.core.type.Lems lems, File outputFolder, String outputFileName, String inputFileName, Format modelFormat)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<File>
convert()
String
getMainScript()
static void
main(String[] args)
void
setSupportedFeatures()
-
Methods inherited from class org.lemsml.export.base.AXMLWriter
addComment, addComment, addTextElement, endElement, getIndent, processAttr, processMathML, processMathML, processMathML, startElement, startElement, startElement, startElement, startElement, startElement, startElement, startElement, startElement, startElement, startElement, startElement, startElement, startEndElement, startEndElement, startEndElement, startEndElement, startEndElement, startEndElement, startEndElement, startEndTextElement
-
Methods inherited from class org.lemsml.export.base.ABaseWriter
getOutputFileName, getOutputFolder, setOutputFileName, setOutputFolder
-
-
-
-
Field Detail
-
SEDML_LEVEL
public static final int SEDML_LEVEL
- See Also:
- Constant Field Values
-
SEDML_VERSION
public static final int SEDML_VERSION
- See Also:
- Constant Field Values
-
PREF_SEDML_SCHEMA
public static final String PREF_SEDML_SCHEMA
- See Also:
- Constant Field Values
-
GLOBAL_TIME_SBML
public static final String GLOBAL_TIME_SBML
- See Also:
- Constant Field Values
-
GLOBAL_TIME_SBML_MATHML
public static final String GLOBAL_TIME_SBML_MATHML
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SEDMLWriter
public SEDMLWriter(org.lemsml.jlems.core.type.Lems lems, File outputFolder, String outputFileName, String inputFileName, Format modelFormat) throws ModelFeatureSupportException, org.neuroml.model.util.NeuroMLException, org.lemsml.jlems.core.sim.LEMSException
- Throws:
ModelFeatureSupportException
org.neuroml.model.util.NeuroMLException
org.lemsml.jlems.core.sim.LEMSException
-
SEDMLWriter
public SEDMLWriter(org.lemsml.jlems.core.type.Lems lems) throws ModelFeatureSupportException, org.neuroml.model.util.NeuroMLException, org.lemsml.jlems.core.sim.LEMSException
- Throws:
ModelFeatureSupportException
org.neuroml.model.util.NeuroMLException
org.lemsml.jlems.core.sim.LEMSException
-
SEDMLWriter
public SEDMLWriter(org.lemsml.jlems.core.type.Lems lems, File outputFolder, String outputFileName, String inputFileName) throws ModelFeatureSupportException, org.neuroml.model.util.NeuroMLException, org.lemsml.jlems.core.sim.LEMSException
- Throws:
ModelFeatureSupportException
org.neuroml.model.util.NeuroMLException
org.lemsml.jlems.core.sim.LEMSException
-
-
Method Detail
-
setSupportedFeatures
public void setSupportedFeatures()
-
getMainScript
public String getMainScript() throws org.lemsml.jlems.core.sim.ContentError
- Throws:
org.lemsml.jlems.core.sim.ContentError
-
convert
public List<File> convert() throws IOException, GenerationException
- Throws:
IOException
GenerationException
-
main
public static void main(String[] args) throws Exception, ModelFeatureSupportException
-
-