Class MathMLConfig

java.lang.Object
com.deltaxml.docbook.config.MathMLConfig

public class MathMLConfig extends Object
Contains parameters for managing the comparison of MathML.
  • Constructor Details

    • MathMLConfig

      public MathMLConfig()
      Creates a new MathMLConfig instance. 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

      public MathMLGranularity getMathMLGranularity()
      Gets the value of the mathmlGranularity parameter.
      Returns:
      the value of the mathmlGranularity parameter
    • setMathMLGranularity

      public void setMathMLGranularity(MathMLGranularity value)

      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: