|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbiouml.plugins.sbml.SbmlConstants
biouml.plugins.sbml.SbmlSupport
biouml.plugins.sbml.SbmlModelReader
reactioName_parameterName., name validations that they are valid SNames| Field Summary | |
protected java.util.Map |
compartmentMap
|
protected Compartment |
defaultCompartment
|
protected java.lang.String |
level
|
protected LinearFormatter |
linearFormatter
|
protected int |
maxVisibleVariableNumber
|
protected boolean |
shouldLayout
|
protected java.util.Map |
specieMap
|
protected biouml.plugins.sbml.SbmlModelReader.SbmlVariableResolver |
variableResolver
|
protected java.lang.String |
version
|
protected int |
visibleVariableNumber
|
| Fields inherited from class biouml.plugins.sbml.SbmlSupport |
diagram, emodel, log, modelName |
| Constructor Summary | |
SbmlModelReader()
|
|
| Method Summary | |
protected double |
convertUnit(java.lang.String unitName,
double value)
It converts value to unified unit system. |
protected DiagramType |
getDiagramType()
|
protected abstract java.lang.String |
getId(org.w3c.dom.Element element)
|
protected java.lang.String |
getSpecieAttribute(org.w3c.dom.Element specieRef)
|
protected org.w3c.dom.NodeList |
getSpecieElement(org.w3c.dom.Element specieList)
|
protected org.w3c.dom.NodeList |
getSpecieReference(org.w3c.dom.Element list)
|
protected abstract java.lang.String |
getTitle(org.w3c.dom.Element element)
|
boolean |
isReaction(DiagramElement de)
|
boolean |
isSpecie(DiagramElement de)
|
protected abstract boolean |
isValid(java.lang.String paramName,
java.lang.Object element,
java.lang.String name)
|
void |
layout(Compartment compartment)
Stub implimentation for diagram layout. |
void |
layout(Compartment compartment,
int x,
int y)
Hierarchically layout compartments and species. |
protected boolean |
parseAsCompartment(java.lang.String token,
java.lang.StringBuffer result)
|
protected boolean |
parseAsParameter(java.lang.String token,
java.lang.StringBuffer result,
Node reaction)
|
protected boolean |
parseAsSpecie(java.lang.String token,
java.lang.StringBuffer result)
|
Diagram |
read(org.w3c.dom.Document document,
java.lang.String name,
DataCollection origin)
|
protected Compartment |
readCompartment(org.w3c.dom.Element element,
java.lang.String compartmentId,
java.lang.String compartmentName)
|
protected void |
readCompartmentList(org.w3c.dom.Element model)
Read list of compartments. |
protected void |
readEventList(org.w3c.dom.Element element)
|
protected void |
readFunctionDefinitionList(org.w3c.dom.Element model)
|
protected void |
readKineticLaw(org.w3c.dom.Element element,
Node reaction)
|
protected abstract void |
readKineticLawFormula(org.w3c.dom.Element element,
Node reaction,
KineticLaw law)
|
protected void |
readModifiers(org.w3c.dom.Element element,
Node reaction)
|
java.lang.String |
readNotes(org.w3c.dom.Element element)
|
protected Variable |
readParameter(org.w3c.dom.Element element,
java.lang.String parameterId,
Node reaction)
|
protected void |
readParameterList(org.w3c.dom.Element parent,
Node reaction)
Read list of parameters for the specified element. |
protected void |
readProducts(org.w3c.dom.Element element,
Node reaction)
|
protected void |
readReactants(org.w3c.dom.Element element,
Node reaction)
|
protected Node |
readReaction(org.w3c.dom.Element element,
java.lang.String reactionId,
java.lang.String reactionName)
|
protected void |
readReactionList(org.w3c.dom.Element model)
Read list of reactions. |
protected abstract void |
readRule(org.w3c.dom.Element model,
int i)
|
protected void |
readRuleList(org.w3c.dom.Element model)
|
protected Node |
readSpecie(org.w3c.dom.Element element,
java.lang.String specieId,
java.lang.String specieName)
|
protected void |
readSpecieList(org.w3c.dom.Element model)
Read list of species. |
protected void |
readSpecieReference(Node reactionNode,
org.w3c.dom.Element element,
java.lang.String specieId,
java.lang.String role)
|
protected abstract void |
readStoichiometry(org.w3c.dom.Element element,
SpecieReference reference,
Node reactionNode)
|
protected void |
readUnitList(org.w3c.dom.Element model)
Read list of unit definitions. |
protected void |
validateReaction(Node reaction)
|
| Methods inherited from class biouml.plugins.sbml.SbmlSupport |
error, getElement, parseFormula, readXhtml, warn, writeXhtml |
| Methods inherited from class biouml.plugins.sbml.SbmlConstants |
DEFAULT_SPATIAL_SIZE_UNITS |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String level
protected java.lang.String version
protected java.util.Map compartmentMap
protected java.util.Map specieMap
protected Compartment defaultCompartment
protected boolean shouldLayout
protected int visibleVariableNumber
protected int maxVisibleVariableNumber
protected biouml.plugins.sbml.SbmlModelReader.SbmlVariableResolver variableResolver
protected LinearFormatter linearFormatter
| Constructor Detail |
public SbmlModelReader()
| Method Detail |
protected DiagramType getDiagramType()
public Diagram read(org.w3c.dom.Document document,
java.lang.String name,
DataCollection origin)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String readNotes(org.w3c.dom.Element element)
protected abstract boolean isValid(java.lang.String paramName,
java.lang.Object element,
java.lang.String name)
protected void validateReaction(Node reaction)
protected abstract java.lang.String getId(org.w3c.dom.Element element)
protected abstract java.lang.String getTitle(org.w3c.dom.Element element)
protected abstract void readRule(org.w3c.dom.Element model,
int i)
protected org.w3c.dom.NodeList getSpecieElement(org.w3c.dom.Element specieList)
protected org.w3c.dom.NodeList getSpecieReference(org.w3c.dom.Element list)
protected java.lang.String getSpecieAttribute(org.w3c.dom.Element specieRef)
protected void readModifiers(org.w3c.dom.Element element,
Node reaction)
protected abstract void readStoichiometry(org.w3c.dom.Element element,
SpecieReference reference,
Node reactionNode)
protected abstract void readKineticLawFormula(org.w3c.dom.Element element,
Node reaction,
KineticLaw law)
protected void readFunctionDefinitionList(org.w3c.dom.Element model)
protected void readEventList(org.w3c.dom.Element element)
protected double convertUnit(java.lang.String unitName,
double value)
protected void readUnitList(org.w3c.dom.Element model)
protected void readCompartmentList(org.w3c.dom.Element model)
protected Compartment readCompartment(org.w3c.dom.Element element,
java.lang.String compartmentId,
java.lang.String compartmentName)
throws java.lang.Exception
java.lang.Exceptionprotected void readSpecieList(org.w3c.dom.Element model)
protected Node readSpecie(org.w3c.dom.Element element,
java.lang.String specieId,
java.lang.String specieName)
throws java.lang.Exception
java.lang.Exception
protected void readParameterList(org.w3c.dom.Element parent,
Node reaction)
protected Variable readParameter(org.w3c.dom.Element element,
java.lang.String parameterId,
Node reaction)
throws java.lang.Exception
java.lang.Exceptionprotected void readReactionList(org.w3c.dom.Element model)
protected Node readReaction(org.w3c.dom.Element element,
java.lang.String reactionId,
java.lang.String reactionName)
throws java.lang.Exception
java.lang.Exception
protected void readReactants(org.w3c.dom.Element element,
Node reaction)
protected void readProducts(org.w3c.dom.Element element,
Node reaction)
protected void readSpecieReference(Node reactionNode,
org.w3c.dom.Element element,
java.lang.String specieId,
java.lang.String role)
throws java.lang.Exception
java.lang.Exception
protected void readKineticLaw(org.w3c.dom.Element element,
Node reaction)
protected void readRuleList(org.w3c.dom.Element model)
protected boolean parseAsSpecie(java.lang.String token,
java.lang.StringBuffer result)
parseAsSpecie in class SbmlSupport
protected boolean parseAsCompartment(java.lang.String token,
java.lang.StringBuffer result)
parseAsCompartment in class SbmlSupport
protected boolean parseAsParameter(java.lang.String token,
java.lang.StringBuffer result,
Node reaction)
parseAsParameter in class SbmlSupportpublic void layout(Compartment compartment)
public void layout(Compartment compartment,
int x,
int y)
public boolean isSpecie(DiagramElement de)
public boolean isReaction(DiagramElement de)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||