public enum HtmlColumnKeyingMode extends java.lang.Enum<HtmlColumnKeyingMode>
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 and Description |
|---|
AUTO
DocumentComparator manages the entire keying process automatically.
|
POSITION
DocumentComparator matches table columns based on their position.
|
| Modifier and Type | Method and Description |
|---|---|
static HtmlColumnKeyingMode |
getColumnKeyingMode(java.lang.String val)
Returns a
HtmlColumnKeyingMode object based on the supplied String value. |
java.lang.String |
toString()
The string form of each of the enumerated type constants.
|
static HtmlColumnKeyingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HtmlColumnKeyingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HtmlColumnKeyingMode AUTO
DocumentComparator manages the entire keying process automatically. If desired this mode also allows for user-defined column keys in the input files.
public static final HtmlColumnKeyingMode POSITION
DocumentComparator matches 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.
public static HtmlColumnKeyingMode[] values()
for (HtmlColumnKeyingMode c : HtmlColumnKeyingMode.values()) System.out.println(c);
public static HtmlColumnKeyingMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<HtmlColumnKeyingMode>public static HtmlColumnKeyingMode getColumnKeyingMode(java.lang.String val)
Returns a HtmlColumnKeyingMode object based on the supplied String value.
This method should not be used under normal circumstances, enum instance values should be used instead.
val - a String representation of a HtmlColumnKeyingMode value or null to get the default valueHtmlColumnKeyingMode instance corresponding to the parameter, or null if the value is invalid