Enum Class ColumnKeyingMode

java.lang.Object
java.lang.Enum<ColumnKeyingMode>
com.deltaxml.htmlcompare.ColumnKeyingMode
All Implemented Interfaces:
Serializable, Comparable<ColumnKeyingMode>, Constable

public enum ColumnKeyingMode extends Enum<ColumnKeyingMode>

Specifies the column keying mode used to match HTML columns when table processing is enabled.

Different column keying modes allow for more precise HTML table column alignment.

  • Enum Constant Details

    • AUTO

      public static final ColumnKeyingMode AUTO

      Manage the keying process automatically. If desired this mode also allows for user-defined column keys in the input files.

    • POSITION

      public static final ColumnKeyingMode POSITION

      Match table columns based on their position. Indexing starts from 1 and the maximum position is defined by the number of columns described by col attribute.

      This mode throws an exception if user-defined keys are found in the input files.

  • Method Details

    • values

      public static ColumnKeyingMode[] 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 ColumnKeyingMode 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
    • value

      public String value()