Interface MathConverter


  • public interface MathConverter
    Specifies the interface which must be implemented by a math converter created by an MathConverterFactory.

    The implementation of this interface must be thread-safe, though a math converter is never reused or shared between different threads.

    • Method Detail

      • convertMath

        Element convertMath​(Element oMath)
                     throws Exception
        Convert specified OpenXML math element to MathML.
        Parameters:
        oMath - a m:oMathPara or m:oMath element to be converted
        Returns:
        converted mml:math element
        Throws:
        Exception - if for any reason this method fails