Enum Class UnmarkedChangeMode

java.lang.Object
java.lang.Enum<UnmarkedChangeMode>
com.deltaxml.dita.config.UnmarkedChangeMode
All Implemented Interfaces:
com.deltaxml.dita.DitaCompareDisplayable, Serializable, Comparable<UnmarkedChangeMode>, Constable

public enum UnmarkedChangeMode extends Enum<UnmarkedChangeMode> implements com.deltaxml.dita.DitaCompareDisplayable
Choose the version of the item to extract for output.
  • Enum Constant Details

    • DOCUMENT_B

      public static final UnmarkedChangeMode DOCUMENT_B
      Output the 'B' version of modified items; output inserted ('B') items; do not output deleted ('A') items.
    • DOCUMENT_B_THEN_DECL_A

      public static final UnmarkedChangeMode DOCUMENT_B_THEN_DECL_A
      As 'B' except when processing an internal subset declaration, in which case act as 'BA'.
    • DOCUMENT_B_THEN_A

      public static final UnmarkedChangeMode DOCUMENT_B_THEN_A
      Output the 'B' version of modified items; output both inserted ('B') and deleted ('A') items.
    • DOCUMENT_A

      public static final UnmarkedChangeMode DOCUMENT_A
      Output the 'A' version of modified items; output deleted ('A') items; do not output inserted ('B') items.
    • DOCUMENT_A_THEN_DECL_B

      public static final UnmarkedChangeMode DOCUMENT_A_THEN_DECL_B
      As 'A' except when processing an internal subset declaration, in which case act as 'AB'.
    • DOCUMENT_A_THEN_B

      public static final UnmarkedChangeMode DOCUMENT_A_THEN_B
      Output the 'A' version of modified items; output both inserted ('B') and deleted ('A') items.
  • Method Details

    • values

      public static UnmarkedChangeMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static UnmarkedChangeMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getDisplayName

      public String getDisplayName()

      Returns the user-friendly String name of the UnmarkedChangeMode.

      Specified by:
      getDisplayName in interface com.deltaxml.dita.DitaCompareDisplayable
      Returns:
      a user-friendly String representing the UnmarkedChangeMode object
    • getDisplayDescription

      public String getDisplayDescription()

      Returns the user-friendly String description of the UnmarkedChangeMode.

      Specified by:
      getDisplayDescription in interface com.deltaxml.dita.DitaCompareDisplayable
      Returns:
      a user-friendly String description representing the UnmarkedChangeMode object
    • toString

      public String toString()

      Returns a String representation of UnmarkedChangeMode.

      Overrides:
      toString in class Enum<UnmarkedChangeMode>
      Returns:
      a String representing the UnmarkedChangeMode object