public final class MathConverterFactories extends Object
math converter factories
used by W2X.
This class is thread-safe.
Modifier and Type | Method and Description |
---|---|
static Element |
convertMath(Element oMath)
Convenience method: convert specified
m:oMathPara or
m:oMath element to a mml:math element. |
static MathConverter |
createMathConverter(Element oMath)
Convenience method: returns a converter allowing to convert specified
OpenXML math element.
|
static void |
register(MathConverterFactory factory)
Registers specified factory.
|
public static void register(MathConverterFactory factory)
public static MathConverter createMathConverter(Element oMath)
Each registered factory is tested in turn, starting from the last registered ones.
oMath
- a m:oMathPara
or m:oMath
element
to be convertednull
otherwise