CalsColumnKeyingMode and
HtmlColumnKeyingMode. These new classes should be used instead.@Deprecated public enum ColumnKeyingMode extends java.lang.Enum<ColumnKeyingMode>
Specifies the column keying mode used to match CALS columns when table processing is enabled.
Different column keying modes allow for more precise CALS table column alignment.
| Enum Constant and Description |
|---|
AUTO
Deprecated.
DocumentComparator manages the entire keying process automatically.
|
COLNAME
Deprecated.
DocumentComparator matches table columns based on colname attribute declared as a part of colspec.
|
POSITION
Deprecated.
DocumentComparator matches table columns based on their position.
|
| Modifier and Type | Method and Description |
|---|---|
static ColumnKeyingMode |
getColumnKeyingMode(java.lang.String val)
Deprecated.
Returns a
ColumnKeyingMode object based on the supplied String value. |
java.lang.String |
toString()
Deprecated.
The string form of each of the enumerated type constants.
|
static ColumnKeyingMode |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static ColumnKeyingMode[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColumnKeyingMode 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 ColumnKeyingMode COLNAME
DocumentComparator matches table columns based on colname attribute declared as a part of colspec. If colname for a particular column is missing this column is NOT explicitly matched with its counterpart in B version.
This mode throws an exception if user-defined keys are found in the input files.
public static final ColumnKeyingMode 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 cols attribute.
This mode throws an exception if user-defined keys are found in the input files.
public static ColumnKeyingMode[] values()
for (ColumnKeyingMode c : ColumnKeyingMode.values()) System.out.println(c);
public static ColumnKeyingMode 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<ColumnKeyingMode>public static ColumnKeyingMode getColumnKeyingMode(java.lang.String val)
Returns a ColumnKeyingMode 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 ColumnKeyingMode value or null to get the default valueColumnKeyingMode instance corresponding to the parameter, or null if the value is invalid