Class SelectingUnrepresentableChange

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

public class SelectingUnrepresentableChange extends Object
These parameters are used to specify how unrepresentable change can be handled.
  • Constructor Details

    • SelectingUnrepresentableChange

      public SelectingUnrepresentableChange()
      Constructs a default SelectingUnrepresentableChange object. These parameters are used to specify how unrepresentable change can be handled.
    • SelectingUnrepresentableChange

      public SelectingUnrepresentableChange(ModifiedAttributeMode modifiedAttributeMode)
      Constructs a SelectingUnrepresentableChange object using the provided ModifiedAttributeMode.
      Parameters:
      modifiedAttributeMode - Specifies how modified attributes should be included in the output.
    • SelectingUnrepresentableChange

      public SelectingUnrepresentableChange(UnmarkedChangeMode unmarkedChangeMode)
      Constructs a SelectingUnrepresentableChange object using the provided UnmarkedChangeMode.
      Parameters:
      unmarkedChangeMode - Specifies how to handle data that cannot contain difference markup.
  • Method Details

    • getModifiedAttributeMode

      public ModifiedAttributeMode getModifiedAttributeMode()
      Gets the value of the modifiedAttributeMode parameter.
      Returns:
      the value of the modifiedAttributeMode parameter
    • setModifiedAttributeMode

      public void setModifiedAttributeMode(ModifiedAttributeMode value)

      Specifies how modified attributes should be included in the output.

      Not all output formats allow the markup of attribute changes. When this is the case, a decision needs to be made on which version of the attribute should be present in the result file. This parameter is used to define what behaviour is required.

      Default: ModifiedAttributeMode.AUTOMATIC

      Parameters:
      value - the value to set for the modifiedAttributeMode parameter
      Throws:
      IllegalArgumentException - if the value is null
    • getUnmarkedChangeMode

      public UnmarkedChangeMode getUnmarkedChangeMode()
      Gets the value of the unmarkedChangeMode parameter.
      Returns:
      the value of the unmarkedChangeMode parameter
    • setUnmarkedChangeMode

      public void setUnmarkedChangeMode(UnmarkedChangeMode value)

      Specifies how to handle data that cannot contain difference markup.

      Some differences between two XML documents cannot feasibly be displayed in a valid output document. These typically include changes to the XML declaration, doctype, internal subset and processing instructions. In these situations it is useful to specify what should be done.

      Note that the internal subset can contain local element, attribute, and entity declarations, as well as processing instructions, comments, and entity-references.

      Default: UnmarkedChangeMode.DOCUMENT_B_THEN_DECL_A

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