org.jscience.ml.sbml.math
Class MathMLConvertor

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

public class MathMLConvertor
extends java.lang.Object

A class for converting MathML to normal math. This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.


Constructor Summary
MathMLConvertor()
          Creates a new instance of MathMLConvertor
 
Method Summary
static void insertFunction(java.lang.String function)
          DOCUMENT ME!
static void reset()
          DOCUMENT ME!
static java.lang.String toNormalMath(java.lang.String mathML, boolean isLambda, boolean isRatelaw)
          Gets the normal math representation of the string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MathMLConvertor

public MathMLConvertor()
Creates a new instance of MathMLConvertor

Method Detail

insertFunction

public static void insertFunction(java.lang.String function)
DOCUMENT ME!

Parameters:
function - DOCUMENT ME!

reset

public static void reset()
DOCUMENT ME!


toNormalMath

public static java.lang.String toNormalMath(java.lang.String mathML,
                                            boolean isLambda,
                                            boolean isRatelaw)
                                     throws java.lang.Exception
Gets the normal math representation of the string.

Parameters:
mathML - The MathML string
isLambda - Is the MathML String a lambda string?
isRatelaw - DOCUMENT ME!
Returns:
The normal representation
Throws:
java.lang.Exception - DOCUMENT ME!