Class SBML_XML_Writer
java.lang.Object
org.graffiti.plugin.io.AbstractOutputSerializer
de.ipk_gatersleben.ag_nw.graffiti.plugins.ios.exporters.sbml.SBML_XML_Writer
- All Implemented Interfaces:
OutputSerializer
,Serializer
,SupportsWriterOutput
public class SBML_XML_Writer extends AbstractOutputSerializer implements OutputSerializer, SupportsWriterOutput
-
Constructor Summary
Constructors Constructor Description SBML_XML_Writer()
Constructor -
Method Summary
Modifier and Type Method Description String[]
getExtensions()
Return the file extension that can be read in.String[]
getFileTypeDescriptions()
returns the file type description.boolean
validFor(Graph g)
As standard, an output serializer will be valid writer for any type of graphvoid
write(OutputStream stream, Graph g)
starts the reading in of the modelvoid
write(Writer writer, Graph g)
Implemented method of interface InputSerializer.javaMethods inherited from class org.graffiti.plugin.io.AbstractOutputSerializer
write
-
Constructor Details
-
SBML_XML_Writer
public SBML_XML_Writer()Constructor
-
-
Method Details
-
write
Implemented method of interface InputSerializer.java- Specified by:
write
in interfaceSupportsWriterOutput
-
getExtensions
Return the file extension that can be read in. Implemented method of interface InputSerializer.java- Specified by:
getExtensions
in interfaceSerializer
- Returns:
- DOCUMENT ME!
-
getFileTypeDescriptions
returns the file type description. Implemented method of interface InputSerializer.java- Specified by:
getFileTypeDescriptions
in interfaceSerializer
- Returns:
- DOCUMENT ME!
-
validFor
Description copied from class:AbstractOutputSerializer
As standard, an output serializer will be valid writer for any type of graph- Specified by:
validFor
in interfaceOutputSerializer
- Overrides:
validFor
in classAbstractOutputSerializer
- Parameters:
g
- The graph to be serialized- Returns:
-
write
starts the reading in of the model- Specified by:
write
in interfaceOutputSerializer
- Parameters:
stream
- contains the modelg
- the data will be read into this data structure- Throws:
IOException
-