|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jeuclid.DOMBuilder
@ThreadSafe public final class DOMBuilder
Builds a MathML tree from a given DOM tree.
| Constructor Summary | |
|---|---|
protected |
DOMBuilder()
Default constructor. |
| Method Summary | |
|---|---|
DocumentElement |
createJeuclidDom(Node node)
Constructs a builder with content math support. |
DocumentElement |
createJeuclidDom(Node node,
boolean supportContent)
Constructs a builder. |
DocumentElement |
createJeuclidDom(Node node,
boolean supportContent,
boolean addNamespace)
Constructs a builder. |
static DOMBuilder |
getDOMBuilder()
Deprecated. use getInstance() instead. |
static DOMBuilder |
getInstance()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected DOMBuilder()
| Method Detail |
|---|
public static DOMBuilder getInstance()
@Deprecated public static DOMBuilder getDOMBuilder()
getInstance() instead.
getInstance() instead.
getInstance()public DocumentElement createJeuclidDom(Node node)
node - The MathML document. Can be an instance of Document, Element
or DocumentFragment with Element child
createJeuclidDom(Node, boolean)
public DocumentElement createJeuclidDom(Node node,
boolean supportContent)
This constructor needs a valid DOM Tree. To obtain a DOM tree, you may
use MathMLParserSupport.
node - The MathML document. Can be an instance of Document, Element
or DocumentFragment with Element childsupportContent - if set to true, content Math will be supported. This impacts
performance.
MathMLParserSupport
public DocumentElement createJeuclidDom(Node node,
boolean supportContent,
boolean addNamespace)
This constructor needs a valid DOM Tree. To obtain a DOM tree, you may
use MathMLParserSupport.
node - The MathML document. Can be an instance of Document, Element
or DocumentFragment with Element childsupportContent - if set to true, content Math will be supported. This impacts
performance.addNamespace - if set to true, the MathML namespace will be added to all
elements.
MathMLParserSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||