org.matheclipse.core.eval
Class MathMLContentUtilities
- java.lang.Object
-
- org.matheclipse.core.eval.MathMLContentUtilities
-
public class MathMLContentUtilities extends java.lang.ObjectConvert an expression into content MathML output
-
-
Constructor Summary
Constructors Constructor and Description MathMLContentUtilities(EvalEngine evalEngine, boolean relaxedSyntax)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidstartRequest()Assign the associated EvalEngine to the current thread.voidstopRequest()Stop the current evaluation thread.voidtoJava(java.lang.String inputExpression, java.io.Writer out, boolean strictJava)voidtoMathML(IExpr objectExpression, java.io.Writer out)Converts the objectExpression into a MathML expression and writes the result to the givenWritervoidtoMathML(java.lang.String inputExpression, java.io.Writer out)Converts the inputExpression string into a MathML expression and writes the result to the givenWriter
-
-
-
Constructor Detail
-
MathMLContentUtilities
public MathMLContentUtilities(EvalEngine evalEngine, boolean relaxedSyntax)
-
-
Method Detail
-
toMathML
public void toMathML(java.lang.String inputExpression, java.io.Writer out)Converts the inputExpression string into a MathML expression and writes the result to the givenWriter- Parameters:
inputExpression-out-
-
toMathML
public void toMathML(IExpr objectExpression, java.io.Writer out)
Converts the objectExpression into a MathML expression and writes the result to the givenWriter- Parameters:
objectExpression-out-
-
toJava
public void toJava(java.lang.String inputExpression, java.io.Writer out, boolean strictJava)
-
startRequest
public void startRequest()
Assign the associated EvalEngine to the current thread. Every subsequent action evaluation in this thread affects the EvalEngine in this class.
-
stopRequest
public void stopRequest()
Stop the current evaluation thread.
-
-
DMelt 3.0 © DataMelt by jWork.ORG