public class MathMLConfig
extends java.lang.Object
Specifies configuration options for MathML processing. These configuration options can be specified on a
DocumentComparator
to configure its behaviour when comparing MathML.
Constructor and Description |
---|
MathMLConfig()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
MathMLGranularity |
getMathMLGranularity()
Returns the granularity setting for MathML comparison results.
|
boolean |
isEnabled()
Determines whether MathML processing is enabled.
|
void |
setEnabled(boolean value)
Sets whether the
DocumentComparator should use MathML-specific processing. |
void |
setMathMLGranularity(MathMLGranularity mathMLGranularity)
Sets the granularity at which the differences between two MathML expressions will be represented.
|
public void setEnabled(boolean value)
Sets whether the DocumentComparator
should use MathML-specific processing.
MathML processing is recommended as it will use MathML-aware features when comparing two MathML expressions to ensure that the result can be rendered.
value
- whether to use MathML processingpublic boolean isEnabled()
Determines whether MathML processing is enabled.
public void setMathMLGranularity(MathMLGranularity mathMLGranularity)
mathMLGranularity
- an instance of MathMLGranularity
public MathMLGranularity getMathMLGranularity()
MathMLGranularity