public enum RedundancyLevel extends java.lang.Enum<RedundancyLevel> implements IEnumType
Enum Constant and Description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Level1
Redundancy Level 1 The following code types must be successfully read twice before being decoded:
| Code Type
| Code Length
| Codabar
| 8 or less
| MSI
| 4 or less
| D 2 of 5
| 8 or less
| I 2 of 5
| 8 or less
|
|
Level2
Redundancy Level 2 The following code types must be successfully read twice before being decoded:
| Code Type
| Code Length
| All
| All
|
| ||||||
Level3
Redundancy Level 3
Code types other than the following must be successfully read twice before being decoded. |
|||||||||||
Level4
Redundancy Level 4 The following code types must be successfully read three times before being decoded:
| Code Type
| Code Length
| All
| All
|
|
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
java.lang.String |
toString() |
static RedundancyLevel |
valueOf(int code) |
static RedundancyLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RedundancyLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedundancyLevel Level1
Code Type | Code Length | |
Codabar | 8 or less | |
MSI | 4 or less | |
D 2 of 5 | 8 or less | |
I 2 of 5 | 8 or less |
public static final RedundancyLevel Level2
Code Type | Code Length | |
All | All |
public static final RedundancyLevel Level3
Code Type | Code Length | |
Codabar | 8 or less | |
MSI | 4 or less | |
D 2 of 5 | 8 or less | |
I 2 of 5 | 8 or less |
public static final RedundancyLevel Level4
Code Type | Code Length | |
All | All |
public static RedundancyLevel[] values()
for (RedundancyLevel c : RedundancyLevel.values()) System.out.println(c);
public static RedundancyLevel 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 interface IEnumType
toString
in class java.lang.Enum<RedundancyLevel>
public static RedundancyLevel valueOf(int code)