Class TopicConfig

java.lang.Object
com.deltaxml.dita.config.TopicConfig

public class TopicConfig extends Object
Contains parameters that are specific to DITA topic comparisons.
  • Constructor Details

    • TopicConfig

      public TopicConfig()
      Creates a new TopicConfig instance. Contains parameters that are specific to DITA topic comparisons.
  • Method Details

    • getMapContextHref

      public String getMapContextHref()
      Gets the value of the mapContextHref parameter.
      Returns:
      the value of the mapContextHref parameter
    • setMapContextHref

      public void setMapContextHref(String value)

      When set to the non-empty string, this parameter provides a reference to a file that stores the map context information.

      This parameter is intended for internal use by the DITA map comparator, which uses it to provide information about the map comparison context. Current information includes the map's result origin and result structure.

      Default: ""

      Parameters:
      value - the value to set for the mapContextHref parameter
      Throws:
      IllegalArgumentException - if the value is null
    • getDeletedIdSuffix

      public String getDeletedIdSuffix()
      Gets the value of the deletedIdSuffix parameter.
      Returns:
      the value of the deletedIdSuffix parameter
    • setDeletedIdSuffix

      public void setDeletedIdSuffix(String value)

      Sets the suffix that is added to ids of deleted elements whose value is changed because of duplication.

      Default: "_deleted_"

      Parameters:
      value - the value to set for the deletedIdSuffix parameter
      Throws:
      IllegalArgumentException - if the value is null
    • getAddedIdSuffix

      public String getAddedIdSuffix()
      Gets the value of the addedIdSuffix parameter.
      Returns:
      the value of the addedIdSuffix parameter
    • setAddedIdSuffix

      public void setAddedIdSuffix(String value)

      Sets the suffix that is added to ids of added elements whose value is changed because of duplication.

      Default: "_added_"

      Parameters:
      value - the value to set for the addedIdSuffix parameter
      Throws:
      IllegalArgumentException - if the value is null