|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbiouml.plugins.cellml.CellMLSupport
biouml.plugins.cellml.CellMLModelReader
| Field Summary | |
protected java.util.HashMap |
componentMap
|
protected java.util.HashMap |
connectionMap
|
protected LinearFormatter |
linearFormatter
|
protected MathMLParser |
mathMLParser
|
protected int |
maxVisibleVariableNumber
|
protected boolean |
shouldLayout
|
protected int |
visibleVariableNumber
|
| Fields inherited from class biouml.plugins.cellml.CellMLSupport |
diagram, file, log, modelName, module, resources |
| Constructor Summary | |
CellMLModelReader(java.io.File inFile)
|
|
| Method Summary | |
protected void |
createReaction(biouml.plugins.cellml.CellMLModelReader.ComponentInfo reactionInfo)
|
protected Node |
createSpecies(biouml.plugins.cellml.CellMLModelReader.ComponentInfo speciesInfo)
Creates node for species. |
protected void |
initComponentMap(org.w3c.dom.Element model)
|
protected void |
initConnectionMap(org.w3c.dom.Element model)
|
Diagram |
read(DataCollection origin,
Module module)
|
protected void |
readComponents(org.w3c.dom.Element model)
Read components. |
protected void |
readConnections(org.w3c.dom.Element model)
Read connections. |
protected Diagram |
readDiagram(org.w3c.dom.Element element,
DataCollection origin)
|
protected void |
readGroups(org.w3c.dom.Element model)
Read groups. |
protected void |
readKineticLaw(biouml.plugins.cellml.CellMLModelReader.ComponentInfo reactionInfo,
Node reaction,
org.w3c.dom.Element element,
java.lang.String varName)
|
protected AstStart |
readMath(biouml.plugins.cellml.CellMLModelReader.ComponentInfo componentInfo,
org.w3c.dom.Element element,
java.lang.String equationVar)
|
protected void |
readReactions(org.w3c.dom.Element model)
|
protected void |
readRole(Node reactionNode,
org.w3c.dom.Element element,
java.lang.String speciesName,
java.lang.String role)
|
protected void |
readUnits(org.w3c.dom.Element model)
Read unit definitions. |
protected org.w3c.dom.Element |
readVariable(Variable var,
biouml.plugins.cellml.CellMLModelReader.ComponentInfo componentInfo,
java.lang.String variableName,
boolean checkInitialValue)
Read variables information. |
| Methods inherited from class biouml.plugins.cellml.CellMLSupport |
error, getElement, warn |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected boolean shouldLayout
protected int visibleVariableNumber
protected int maxVisibleVariableNumber
protected java.util.HashMap componentMap
protected java.util.HashMap connectionMap
protected MathMLParser mathMLParser
protected LinearFormatter linearFormatter
| Constructor Detail |
public CellMLModelReader(java.io.File inFile)
throws java.lang.Exception
| Method Detail |
public Diagram read(DataCollection origin,
Module module)
throws java.lang.Exception
java.lang.Exception
protected Diagram readDiagram(org.w3c.dom.Element element,
DataCollection origin)
throws java.lang.Exception
java.lang.Exceptionprotected void readUnits(org.w3c.dom.Element model)
protected void readComponents(org.w3c.dom.Element model)
protected void initComponentMap(org.w3c.dom.Element model)
protected void readGroups(org.w3c.dom.Element model)
containment and
protected Node createSpecies(biouml.plugins.cellml.CellMLModelReader.ComponentInfo speciesInfo)
throws java.lang.Exception
java.lang.Exceptionprotected void readReactions(org.w3c.dom.Element model)
protected void createReaction(biouml.plugins.cellml.CellMLModelReader.ComponentInfo reactionInfo)
throws java.lang.Exception
java.lang.Exception
protected void readRole(Node reactionNode,
org.w3c.dom.Element element,
java.lang.String speciesName,
java.lang.String role)
throws java.lang.Exception
java.lang.Exception
protected void readKineticLaw(biouml.plugins.cellml.CellMLModelReader.ComponentInfo reactionInfo,
Node reaction,
org.w3c.dom.Element element,
java.lang.String varName)
protected void initConnectionMap(org.w3c.dom.Element model)
protected void readConnections(org.w3c.dom.Element model)
protected org.w3c.dom.Element readVariable(Variable var,
biouml.plugins.cellml.CellMLModelReader.ComponentInfo componentInfo,
java.lang.String variableName,
boolean checkInitialValue)
protected AstStart readMath(biouml.plugins.cellml.CellMLModelReader.ComponentInfo componentInfo,
org.w3c.dom.Element element,
java.lang.String equationVar)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||