    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class JSci.io.MathMLDocument

    java.lang.Object
       |
       +----org.apache.xerces.dom.NodeImpl
               |
               +----org.apache.xerces.dom.NodeContainer
                       |
                       +----org.apache.xerces.dom.DocumentImpl
                               |
                               +----JSci.io.MathMLDocument

public final class MathMLDocument
extends DocumentImpl

The MathMLDocument class encapsulates an entire MathML document.

##

MathMLDocument()
  Constructs a MathML document.

##

createApply(String, DocumentFragment)
  Creates a MathML operator/function element (<apply>).
createMatrix(ComplexMatrix)
  Creates a MathML matrix element (<matrix>).
createMatrix(DoubleMatrix)
  Creates a MathML matrix element (<matrix>).
createMatrix(IntegerMatrix)
  Creates a MathML matrix element (<matrix>).
createNumber(Complex)
  Creates a MathML number element (<cn>).
createNumber(double)
  Creates a MathML number element (<cn>).
createNumber(int)
  Creates a MathML number element (<cn>).
createReln(String, DocumentFragment)
  Creates a MathML relation element (<reln>).
createSet(DiscreteSet)
  Creates a MathML set element (<set>).
createSymbol(Object)
  Creates a MathML symbol element (<ci>).
createVector(ComplexVector)
  Creates a MathML vector element (<vector>).
createVector(DoubleVector)
  Creates a MathML vector element (<vector>).
createVector(IntegerVector)
  Creates a MathML vector element (<vector>).

##

MathMLDocument

     public MathMLDocument()

  Constructs a MathML document.

##

createNumber

     public Element createNumber(double x)

  Creates a MathML number element (<cn>).

createNumber

     public Element createNumber(int i)

  Creates a MathML number element (<cn>).

createNumber

     public Element createNumber(Complex z)

  Creates a MathML number element (<cn>).

createSymbol

     public Element createSymbol(Object o)

  Creates a MathML symbol element (<ci>).

createVector

     public Element createVector(DoubleVector v)

  Creates a MathML vector element (<vector>).

createVector

     public Element createVector(IntegerVector v)

  Creates a MathML vector element (<vector>).

createVector

     public Element createVector(ComplexVector v)

  Creates a MathML vector element (<vector>).

createMatrix

     public Element createMatrix(DoubleMatrix m)

  Creates a MathML matrix element (<matrix>).

createMatrix

     public Element createMatrix(IntegerMatrix m)

  Creates a MathML matrix element (<matrix>).

createMatrix

     public Element createMatrix(ComplexMatrix m)

  Creates a MathML matrix element (<matrix>).

createSet

     public Element createSet(DiscreteSet s)

  Creates a MathML set element (<set>).

createApply

     public Element createApply(String name,
                                DocumentFragment args)

  Creates a MathML operator/function element (<apply>).

createReln

     public Element createReln(String name,
                               DocumentFragment args)

  Creates a MathML relation element (<reln>).

    All Packages  Class Hierarchy  This Package  Previous  Next  Index