public static enum VisualFormatter.Item.Type extends java.lang.Enum<VisualFormatter.Item.Type>
VisualFormatter.Item.Type is an enumeration representing the type of item.| Enum Constant and Description |
|---|
DISPATCHER
Dispatcher type, used to validate the input barcode data and decide which
formatter type to execute between the ones installed in the same formatter
configuration, with the addition of the standard formatter that is always
executable.
|
FORMATTER
Formatter type, used to modify the input barcode data such as the
barcode string or type.
|
| Modifier and Type | Method and Description |
|---|---|
static VisualFormatter.Item.Type |
fromInt(int value)
Retrieves the corresponding item type value from a valid integer.
|
int |
toInt()
Converts the item type to its integer corresponding value.
|
static VisualFormatter.Item.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VisualFormatter.Item.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VisualFormatter.Item.Type FORMATTER
public static final VisualFormatter.Item.Type DISPATCHER
public static VisualFormatter.Item.Type[] values()
for (VisualFormatter.Item.Type c : VisualFormatter.Item.Type.values()) System.out.println(c);
public static VisualFormatter.Item.Type 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 int toInt()
public static VisualFormatter.Item.Type fromInt(int value)
value - Integer to use as input in the conversion.