Class SBML_SBase_Writer
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 Summary
-
Constructor Summary
Constructors Constructor Description SBML_SBase_Writer()
-
Method Summary
Modifier and Type Method Description void
addSBaseAttributes(org.sbml.jsbml.AbstractSBase sbase, Edge e, String niceID)
void
addSBaseAttributes(org.sbml.jsbml.AbstractSBase sbase, Graph g)
void
addSBaseAttributes(org.sbml.jsbml.AbstractSBase sbase, Graph g, String niceID)
This Method helps processing the attributes with a variable headline inherited by SBasevoid
addSBaseAttributes(org.sbml.jsbml.AbstractSBase sbase, Node node)
Method adds all sBase attributes to an object of a modelObject
getAttribute(Edge e, String headline, String attributeName)
Object
getAttribute(GraphElement n, String headline, String attributeName)
Object
getAttribute(Graph g, String headline, String attributeName)
Shortens the statement for getting the value of an attributeObject
getAttribute(Node n, String headline, String attributeName)
Shortens the statement for getting the value of an attributeArrayList<String>
headlineHelper(Graph g, String pattern)
Method returns all headlines in the graph tab which begin with a certain patternArrayList<String>
headlineHelper(Node n, String pattern)
Method returns all headlines in the node tab which begin with a certain pattern
-
Field Details
-
ATT
To make the code shorter
-
-
Constructor Details
-
SBML_SBase_Writer
public SBML_SBase_Writer()
-
-
Method Details
-
addSBaseAttributes
This Method helps processing the attributes with a variable headline inherited by SBase- Parameters:
sbase
- has the attribute which will be setg
- contains the values for the exportheadline
- indicates where the information should be read fromintern
- representation of headline
-
addSBaseAttributes
-
addSBaseAttributes
-
getAttribute
Shortens the statement for getting the value of an attribute- Parameters:
g
- contains the values for the exportheadline
- indicates where the information should be read fromattributeName
- is the attribute to be read- Returns:
- the value of the attribute
-
getAttribute
-
addSBaseAttributes
Method adds all sBase attributes to an object of a model- Parameters:
sbase
- will set new attributesnode
- is the current graph elementheadline
- indicates where the information should be read fromniceID
- the intern representation of headline
-
getAttribute
Shortens the statement for getting the value of an attribute- Parameters:
n
- contains the values for the exportheadline
- indicates where the information should be read fromattributeName
- is the attribute to be read- Returns:
- the value of the attribute
-
getAttribute
-
headlineHelper
Method returns all headlines in the graph tab which begin with a certain pattern- Parameters:
g
- contains the values for the exportpattern
- is the headline to be found- Returns:
- all headlines with the required beginning
-
headlineHelper
Method returns all headlines in the node tab which begin with a certain pattern- Parameters:
g
- contains the values for the exportpattern
- is the headline to be found- Returns:
- all headlines with the required beginning
-