Package com.xmlmind.w2x.docx.math
Class MathConverterFactoryImpl
- java.lang.Object
-
- com.xmlmind.w2x.docx.math.MathConverterFactoryImpl
-
- All Implemented Interfaces:
MathConverterFactory
public final class MathConverterFactoryImpl extends Object implements MathConverterFactory
Math converter factory leveraging XSLT stylesheetomml2mml.xsl(a resource of this class) to convert OpenXML math element to MathML.This class is thread-safe.
-
-
Constructor Summary
Constructors Constructor Description MathConverterFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MathConvertercreateMathConverter(Element oMath)Returns a math converter allowing to convert specified OpenXML math element.
-
-
-
Method Detail
-
createMathConverter
public MathConverter createMathConverter(Element oMath) throws Exception
Description copied from interface:MathConverterFactoryReturns a math converter allowing to convert specified OpenXML math element.- Specified by:
createMathConverterin interfaceMathConverterFactory- Parameters:
oMath- am:oMathParaorm:oMathelement to be converted- Returns:
- converter or
nullif there is no such converter - Throws:
Exception- if for any reason this method fails
-
-