Class FunctionBuilder.FnBuilder

  • All Implemented Interfaces:
    MathMLFragmentBuilder
    Enclosing class:
    FunctionBuilder

    public static class FunctionBuilder.FnBuilder
    extends ApplyConstructor
    implements MathMLFragmentBuilder
    Class to build a Fn element, with the name of the jep-function. Standard for MathML 1.0 but deprecated in MathML 2.0. This produces <apply><fn><ci>JepFunName</ci></fn>args ...</apply>
    Author:
    Richard Morris
    • Constructor Summary

      Constructors 
      Constructor Description
      FnBuilder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.w3c.dom.Element build​(Node node, org.w3c.dom.Document doc, MathMLDocumentBuilder db)
      Builds a Element for a jep Node.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FnBuilder

        public FnBuilder()
    • Method Detail

      • build

        public org.w3c.dom.Element build​(Node node,
                                         org.w3c.dom.Document doc,
                                         MathMLDocumentBuilder db)
                                  throws JepException
        Description copied from interface: MathMLFragmentBuilder
        Builds a Element for a jep Node.
        Specified by:
        build in interface MathMLFragmentBuilder
        Parameters:
        node - The jep sub expression.
        doc - The document to create the element in.
        db - Used create elements and attributes and child nodes.
        Returns:
        element representing the node
        Throws:
        JepException