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 Details

    • SBML_XML_Writer

      public SBML_XML_Writer()
      Constructor
  • Method Details

    • write

      public void write​(Writer writer, Graph g)
      Implemented method of interface InputSerializer.java
      Specified by:
      write in interface SupportsWriterOutput
    • getExtensions

      public String[] getExtensions()
      Return the file extension that can be read in. Implemented method of interface InputSerializer.java
      Specified by:
      getExtensions in interface Serializer
      Returns:
      DOCUMENT ME!
    • getFileTypeDescriptions

      public String[] getFileTypeDescriptions()
      returns the file type description. Implemented method of interface InputSerializer.java
      Specified by:
      getFileTypeDescriptions in interface Serializer
      Returns:
      DOCUMENT ME!
    • validFor

      public boolean validFor​(Graph g)
      Description copied from class: AbstractOutputSerializer
      As standard, an output serializer will be valid writer for any type of graph
      Specified by:
      validFor in interface OutputSerializer
      Overrides:
      validFor in class AbstractOutputSerializer
      Parameters:
      g - The graph to be serialized
      Returns:
    • write

      public void write​(OutputStream stream, Graph g) throws IOException
      starts the reading in of the model
      Specified by:
      write in interface OutputSerializer
      Parameters:
      stream - contains the model
      g - the data will be read into this data structure
      Throws:
      IOException