org.jscience.ml.sbml.math
Class SBMLNode

java.lang.Object
  extended by org.jscience.ml.sbml.math.SBMLNode

public class SBMLNode
extends java.lang.Object

A class representing a node in a parse tree. This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.


Field Summary
 java.util.Vector children
          DOCUMENT ME!
 MathElement element
          DOCUMENT ME!
 SBMLNode parent
          DOCUMENT ME!
 
Constructor Summary
SBMLNode(MathElement m)
          DOCUMENT ME!
SBMLNode(SBMLNode parent)
          Creates a new instance of SBMLNode
SBMLNode(SBMLNode parent, MathElement m)
          DOCUMENT ME!
 
Method Summary
 void addChild(SBMLNode n)
          DOCUMENT ME!
 MathElement getElement()
          Getter for property element.
 SBMLNode getParent()
          DOCUMENT ME!
 void setElement(MathElement m)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

element

public MathElement element
DOCUMENT ME!


parent

public SBMLNode parent
DOCUMENT ME!


children

public java.util.Vector children
DOCUMENT ME!

Constructor Detail

SBMLNode

public SBMLNode(SBMLNode parent)
Creates a new instance of SBMLNode

Parameters:
parent - DOCUMENT ME!

SBMLNode

public SBMLNode(SBMLNode parent,
                MathElement m)
DOCUMENT ME!

Parameters:
parent -
m -

SBMLNode

public SBMLNode(MathElement m)
DOCUMENT ME!

Parameters:
m -
Method Detail

addChild

public void addChild(SBMLNode n)
DOCUMENT ME!

Parameters:
n -

getElement

public MathElement getElement()
Getter for property element.

Returns:
Value of property element.

getParent

public SBMLNode getParent()
DOCUMENT ME!

Returns:

setElement

public void setElement(MathElement m)
DOCUMENT ME!

Parameters:
m -