Package com.deltaxml.dita.config
Class TopicConfig
java.lang.Object
com.deltaxml.dita.config.TopicConfig
Contains parameters that are specific to DITA topic comparisons.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the addedIdSuffix parameter.Gets the value of the deletedIdSuffix parameter.Gets the value of the mapContextHref parameter.voidsetAddedIdSuffix(String value) Sets the suffix that is added to ids of added elements whose value is changed because of duplication.voidsetDeletedIdSuffix(String value) Sets the suffix that is added to ids of deleted elements whose value is changed because of duplication.voidsetMapContextHref(String value) When set to the non-empty string, this parameter provides a reference to a file that stores the map context information.
-
Constructor Details
-
TopicConfig
public TopicConfig()Creates a newTopicConfiginstance. Contains parameters that are specific to DITA topic comparisons.
-
-
Method Details
-
getMapContextHref
Gets the value of the mapContextHref parameter.- Returns:
- the value of the mapContextHref parameter
-
setMapContextHref
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
Gets the value of the deletedIdSuffix parameter.- Returns:
- the value of the deletedIdSuffix parameter
-
setDeletedIdSuffix
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
Gets the value of the addedIdSuffix parameter.- Returns:
- the value of the addedIdSuffix parameter
-
setAddedIdSuffix
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
-