Package com.deltaxml.htmlcompare
Class MathMLConfiguration
java.lang.Object
com.deltaxml.htmlcompare.MathMLConfiguration
Configuration object that contains parameters that control MathML comparison and presentation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a newMathMLConfigurationobject.MathMLConfiguration(MathMLGranularity mathMLGranularity) Create a newMathMLConfigurationobject, providing theMathMLGranularityto use. -
Method Summary
Modifier and TypeMethodDescriptionGet the current value of the MathML granularity parameter.booleanGets the value of the mathmlProcessing parameter.voidSet the new value of the MathML granularity parameter.voidsetMathmlProcessing(boolean value) This parameter enables or disables MathML processing.
-
Constructor Details
-
MathMLConfiguration
public MathMLConfiguration()Create a newMathMLConfigurationobject. -
MathMLConfiguration
Create a newMathMLConfigurationobject, providing theMathMLGranularityto use.- Parameters:
mathMLGranularity- the granular level of detail to represent MathML with.
-
-
Method Details
-
isMathmlProcessing
public boolean isMathmlProcessing()Gets the value of the mathmlProcessing parameter.- Returns:
- the value of the mathmlProcessing parameter
-
setMathmlProcessing
public void setMathmlProcessing(boolean value) This parameter enables or disables MathML processing. Setting this parameter to false turns off this processing, therefore it is possible to generate an invalid output. However, if MathML validity is not a concern changes maybe represented in finer granularity.
Default:
true- Parameters:
value- the new value of the mathmlProcessing parameter
-
getMathMLGranularity
Get the current value of the MathML granularity parameter.- Returns:
- the current value of the MathML granularity parameter.
- See Also:
-
setMathMLGranularity
Set the new value of the MathML granularity parameter.- Parameters:
value- the new value of the MathML granularity parameter.- See Also:
-