Package com.aspose.barcode.generation
Enum CodabarChecksumMode
- java.lang.Object
-
- java.lang.Enum<CodabarChecksumMode>
-
- com.aspose.barcode.generation.CodabarChecksumMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CodabarChecksumMode>
public enum CodabarChecksumMode extends java.lang.Enum<CodabarChecksumMode>
Specifies the checksum algorithm for Codabar
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
static CodabarChecksumMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CodabarChecksumMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MOD_10
public static final CodabarChecksumMode MOD_10
Specifies Mod 10 algorithm for Codabar.
-
MOD_16
public static final CodabarChecksumMode MOD_16
Specifies Mod 16 algorithm for Codabar (recomended AIIM).
-
-
Method Detail
-
values
public static CodabarChecksumMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CodabarChecksumMode c : CodabarChecksumMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CodabarChecksumMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public int getValue()
-
-