net.sourceforge.jeuclid
Class DOMBuilder
java.lang.Object
net.sourceforge.jeuclid.DOMBuilder
public class DOMBuilder
- extends Object
Builds a MathML tree from a given DOM tree.
- Version:
- $Revision: 422 $
- Author:
- Stephan Michels, Max Berger
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOMBuilder
public DOMBuilder(Node node,
MathBase mathBase)
- Constructs a builder.
This constructor needs a valid DOM Tree. To obtain a DOM tree, you may
use MathMLParserSupport.
- Parameters:
node - The MathML document. Can be an instance of Document, Element
or DocumentFragment with Element childmathBase - Math base- See Also:
MathMLParserSupport
getMathRootElement
public DocumentElement getMathRootElement()
- Returns the root element of a math tree.
- Returns:
- Root element.
Copyright © 2002-2008 The JEuclid project. All Rights Reserved.