Class LgBuilder
- java.lang.Object
-
- com.singularsys.extensions.mathml.builder.LgBuilder
-
- All Implemented Interfaces:
MathMLFragmentBuilder
public class LgBuilder extends java.lang.Object implements MathMLFragmentBuilder
Builder to handle the lg() function. Produces<apply><log/><logbase><cn>2</cn></logbase><cn>1.23</cn></apply>
- Author:
- Richard Morris
-
-
Constructor Summary
Constructors Constructor Description LgBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.Element
build(Node n, org.w3c.dom.Document d, MathMLDocumentBuilder db)
Builds a Element for a jep Node.
-
-
-
Method Detail
-
build
public org.w3c.dom.Element build(Node n, org.w3c.dom.Document d, MathMLDocumentBuilder db) throws JepException
Description copied from interface:MathMLFragmentBuilder
Builds a Element for a jep Node.- Specified by:
build
in interfaceMathMLFragmentBuilder
- Parameters:
n
- The jep sub expression.d
- The document to create the element in.db
- Used create elements and attributes and child nodes.- Returns:
- element representing the node
- Throws:
JepException
-
-