java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.ios.exporters.sbml.SBML_SBase_Writer
Direct Known Subclasses:
SBML_Compartment_Writer, SBML_Constraint_Writer, SBML_Event_Writer, SBML_FunctionDefinition_Writer, SBML_InitialAssignment_Writer, SBML_Model_Writer, SBML_Parameter_Writer, SBML_Reaction_Writer, SBML_Rule_Writer, SBML_SBML_Writer, SBML_Species_Writer, SBML_UnitDefinition_Writer

public class SBML_SBase_Writer
extends Object
  • Field Details

    • ATT

      public final String ATT
      To make the code shorter
  • Constructor Details

    • SBML_SBase_Writer

      public SBML_SBase_Writer()
  • Method Details

    • addSBaseAttributes

      public void addSBaseAttributes​(org.sbml.jsbml.AbstractSBase sbase, Graph g, String niceID)
      This Method helps processing the attributes with a variable headline inherited by SBase
      Parameters:
      sbase - has the attribute which will be set
      g - contains the values for the export
      headline - indicates where the information should be read from
      intern - representation of headline
    • addSBaseAttributes

      public void addSBaseAttributes​(org.sbml.jsbml.AbstractSBase sbase, Graph g)
    • addSBaseAttributes

      public void addSBaseAttributes​(org.sbml.jsbml.AbstractSBase sbase, Edge e, String niceID)
    • getAttribute

      public Object getAttribute​(Graph g, String headline, String attributeName)
      Shortens the statement for getting the value of an attribute
      Parameters:
      g - contains the values for the export
      headline - indicates where the information should be read from
      attributeName - is the attribute to be read
      Returns:
      the value of the attribute
    • getAttribute

      public Object getAttribute​(Edge e, String headline, String attributeName)
    • addSBaseAttributes

      public void addSBaseAttributes​(org.sbml.jsbml.AbstractSBase sbase, Node node)
      Method adds all sBase attributes to an object of a model
      Parameters:
      sbase - will set new attributes
      node - is the current graph element
      headline - indicates where the information should be read from
      niceID - the intern representation of headline
    • getAttribute

      public Object getAttribute​(Node n, String headline, String attributeName)
      Shortens the statement for getting the value of an attribute
      Parameters:
      n - contains the values for the export
      headline - indicates where the information should be read from
      attributeName - is the attribute to be read
      Returns:
      the value of the attribute
    • getAttribute

      public Object getAttribute​(GraphElement n, String headline, String attributeName)
    • headlineHelper

      public ArrayList<String> headlineHelper​(Graph g, String pattern)
      Method returns all headlines in the graph tab which begin with a certain pattern
      Parameters:
      g - contains the values for the export
      pattern - is the headline to be found
      Returns:
      all headlines with the required beginning
    • headlineHelper

      public ArrayList<String> headlineHelper​(Node n, String pattern)
      Method returns all headlines in the node tab which begin with a certain pattern
      Parameters:
      g - contains the values for the export
      pattern - is the headline to be found
      Returns:
      all headlines with the required beginning