public static enum ScannerConfig.CheckDigitType extends java.lang.Enum<ScannerConfig.CheckDigitType>
Example Usage: CheckDigitType.NO;
Enum Constant and Description |
---|
NO
A check digit is not used.
|
OPCC
Select to check the integrity of all Interleaved 2 of 5 symbols to
verify the data complies with either the Optical Product Code Council
(OPCC) check digit algorithm.
|
USS
Select to check the integrity of all Interleaved 2 of 5 symbols to
verify the data complies with either the Uniform Symbology
Specification (USS) check digit algorithm.
|
Modifier and Type | Method and Description |
---|---|
static ScannerConfig.CheckDigitType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScannerConfig.CheckDigitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScannerConfig.CheckDigitType NO
public static final ScannerConfig.CheckDigitType USS
public static final ScannerConfig.CheckDigitType OPCC
public static ScannerConfig.CheckDigitType[] values()
for (ScannerConfig.CheckDigitType c : ScannerConfig.CheckDigitType.values()) System.out.println(c);
public static ScannerConfig.CheckDigitType 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 null