Package com.deltaxml.docbook.config
Class MathMLConfig
java.lang.Object
com.deltaxml.docbook.config.MathMLConfig
Contains parameters for managing the comparison of MathML.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the mathmlGranularity parameter.booleanGets the value of the mathmlProcessing parameter.voidThis parameter sets the granularity of the MathML processing.voidsetMathmlProcessing(boolean value) This parameter enables or disables MathML processing.
-
Constructor Details
-
MathMLConfig
public MathMLConfig()Creates a newMathMLConfiginstance. Contains parameters for managing the comparison of MathML.
-
-
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 may represented at finer granularity.
Default:
true- Parameters:
value- the new value of the mathmlProcessing parameter
-
getMathMLGranularity
Gets the value of the mathmlGranularity parameter.- Returns:
- the value of the mathmlGranularity parameter
-
setMathMLGranularity
This parameter sets the granularity of the MathML processing.
Default:
inline- Parameters:
value- the new value of the mathmlGranularity parameter- Throws:
IllegalArgumentException- if value is null- See Also:
-