JSci.io
Class MathMLParser.JSciObjectTranslator

java.lang.Object
  extended by JSci.io.MathMLParser.Translator
      extended by JSci.io.MathMLParser.JSciObjectTranslator
Enclosing class:
MathMLParser

static class MathMLParser.JSciObjectTranslator
extends MathMLParser.Translator

JSci object translator.


Constructor Summary
MathMLParser.JSciObjectTranslator()
           
 
Method Summary
protected  java.lang.Object parseAPPLY(org.w3c.dom.mathml.MathMLContentContainer n)
          Parses <apply> tags.
protected  java.lang.Object parseCI(org.w3c.dom.mathml.MathMLCiElement n)
          Parses <ci> tags.
protected  java.lang.Object parseCN(org.w3c.dom.mathml.MathMLCnElement n)
          Parses <cn> tags.
protected  java.lang.Object parseMATRIX(org.w3c.dom.mathml.MathMLMatrixElement n)
          Parses <matrix> tags.
protected  java.lang.Object parseMS(org.w3c.dom.mathml.MathMLStringLitElement n)
          Parses <ms> tags.
protected  java.lang.Object parseMTEXT(org.w3c.dom.mathml.MathMLPresentationToken n)
          Parses <mtext> tags.
protected  java.lang.Object parsePredefinedSymbol(org.w3c.dom.mathml.MathMLPredefinedSymbol n)
           
protected  java.lang.Object parseSET(org.w3c.dom.mathml.MathMLSetElement n)
          Parses <set> tags.
protected  java.lang.Object parseVECTOR(org.w3c.dom.mathml.MathMLVectorElement n)
          Parses <vector> tags.
 
Methods inherited from class JSci.io.MathMLParser.Translator
processNode, translate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MathMLParser.JSciObjectTranslator

public MathMLParser.JSciObjectTranslator()
Method Detail

parseAPPLY

protected java.lang.Object parseAPPLY(org.w3c.dom.mathml.MathMLContentContainer n)
Parses <apply> tags.

Specified by:
parseAPPLY in class MathMLParser.Translator
Returns:
MathMLExpression.

parseCN

protected java.lang.Object parseCN(org.w3c.dom.mathml.MathMLCnElement n)
Parses <cn> tags.

Specified by:
parseCN in class MathMLParser.Translator
Returns:
Ring.Member.

parsePredefinedSymbol

protected java.lang.Object parsePredefinedSymbol(org.w3c.dom.mathml.MathMLPredefinedSymbol n)
Specified by:
parsePredefinedSymbol in class MathMLParser.Translator

parseCI

protected java.lang.Object parseCI(org.w3c.dom.mathml.MathMLCiElement n)
Parses <ci> tags.

Specified by:
parseCI in class MathMLParser.Translator
Returns:
String.

parseVECTOR

protected java.lang.Object parseVECTOR(org.w3c.dom.mathml.MathMLVectorElement n)
Parses <vector> tags.

Specified by:
parseVECTOR in class MathMLParser.Translator
Returns:
MathVector.

parseMATRIX

protected java.lang.Object parseMATRIX(org.w3c.dom.mathml.MathMLMatrixElement n)
Parses <matrix> tags.

Specified by:
parseMATRIX in class MathMLParser.Translator
Returns:
Matrix.

parseSET

protected java.lang.Object parseSET(org.w3c.dom.mathml.MathMLSetElement n)
Parses <set> tags.

Specified by:
parseSET in class MathMLParser.Translator
Returns:
FiniteSet.

parseMS

protected java.lang.Object parseMS(org.w3c.dom.mathml.MathMLStringLitElement n)
Parses <ms> tags.

Specified by:
parseMS in class MathMLParser.Translator
Returns:
String.

parseMTEXT

protected java.lang.Object parseMTEXT(org.w3c.dom.mathml.MathMLPresentationToken n)
Parses <mtext> tags.

Specified by:
parseMTEXT in class MathMLParser.Translator
Returns:
String.