Enum Class Modification.ModificationType

java.lang.Object
java.lang.Enum<Modification.ModificationType>
com.inet.pdfc.generator.model.Modification.ModificationType
All Implemented Interfaces:
Serializable, Comparable<Modification.ModificationType>, Constable
Enclosing class:
Modification

public static enum Modification.ModificationType extends Enum<Modification.ModificationType>
The type of the modification which side has modifications and whether the changes do apply- This is loosely coupled to the severity type of DiffGroups.
Since:
3.0
  • Enum Constant Details

    • add

      public static final Modification.ModificationType add
      There are only new affected elements in the second document. Attribute changes do not apply and are empty.
    • remove

      public static final Modification.ModificationType remove
      There are only removed affected elements in the first document. Attribute changes do not apply and are empty.
    • replace

      public static final Modification.ModificationType replace
      There are affected elements in both documents but their number may differ. Attribute changes do not apply and are empty.
    • attributeDifference

      public static final Modification.ModificationType attributeDifference
      There are affected elements in both documents and their number is equal as they are themselves basically equal. Since their style or other attributed where changed, the attribute-difference does apply to all elements in this modification.
    • validationError

      public static final Modification.ModificationType validationError
      A validation error is an indicator for a problem on a singular element. The Element will only be highlighted, but no grouped change should be displayed.
      Since:
      5.2
  • Method Details

    • values

      public static Modification.ModificationType[] 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 Modification.ModificationType 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