Package com.dynamicpdf.api.elements
Enum ErrorCorrection
- All Implemented Interfaces:
Serializable
,Comparable<ErrorCorrection>
,java.lang.constant.Constable
The level of error correction to use in a barcode.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionError Correction Auto.Error Correction Level 0.Error Correction Level 1.Error Correction Level 2.Error Correction Level 3.Error Correction Level 4.Error Correction Level 5.Error Correction Level 6.Error Correction Level 7.Error Correction Level 8. -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorCorrection
Returns the enum constant of this type with the specified name.static ErrorCorrection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LEVEL0
Error Correction Level 0. -
LEVEL1
Error Correction Level 1. -
LEVEL2
Error Correction Level 2. -
LEVEL3
Error Correction Level 3. -
LEVEL4
Error Correction Level 4. -
LEVEL5
Error Correction Level 5. -
LEVEL6
Error Correction Level 6. -
LEVEL7
Error Correction Level 7. -
LEVEL8
Error Correction Level 8. -
AUTO
Error Correction Auto.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-