Class MapfileParameters

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

public class MapfileParameters extends Object
These parameters control how the map file comparison is performed.
  • Constructor Details

    • MapfileParameters

      public MapfileParameters()
      Creates a new MapfileParameters instance. These parameters control how the map file comparison is performed.
  • Method Details

    • getMapPublicId

      public String getMapPublicId()
      Gets the value of the mapPublicId parameter.
      Returns:
      the value of the mapPublicId parameter
    • setMapPublicId

      public void setMapPublicId(String value)

      Specifies the publicId to use for a Map doctype.

      A value should only be passed if you wish to override the default values for the publicId (-//OASIS//DTD DITA Map//EN)

      Note that this value is only used if the following are true:

      • The input documents are different DITA specializations, or only one of them is specialized
      • At least one of the input documents specified a doctype
      • The comparison has not been configured to re-specialize the result document even if the inputs were different types

      Default: ""

      Parameters:
      value - the value to set for the mapPublicId parameter
      Throws:
      IllegalArgumentException - if the value is null
    • getMapSystemId

      public String getMapSystemId()
      Gets the value of the mapSystemId parameter.
      Returns:
      the value of the mapSystemId parameter
    • setMapSystemId

      public void setMapSystemId(String value)

      Specifies the systemId to use for a Map doctype.

      A value should only be passed if you wish to override the default values for the systemId (http://docs.oasis-open.org/dita/v1.1/OS/dtd/map.dtd for DITA 1.1 and http://docs.oasis-open.org/dita/v1.2/os/dtd1.2/technicalContent/dtd/map.dtd for DITA 1.2)

      Note that this value is only used if the following are true:

      • The input documents are different DITA specializations, or only one of them is specialized
      • At least one of the input documents specified a doctype
      • The comparison has not been configured to re-specialize the result document even if the inputs were different types

      Default: ""

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