Package net.webpdf.wsclient.openapi
Enum OperationQrBarcode.ErrorCorrectionEnum
- java.lang.Object
-
- java.lang.Enum<OperationQrBarcode.ErrorCorrectionEnum>
-
- net.webpdf.wsclient.openapi.OperationQrBarcode.ErrorCorrectionEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationQrBarcode.ErrorCorrectionEnum>
- Enclosing class:
- OperationQrBarcode
public static enum OperationQrBarcode.ErrorCorrectionEnum extends Enum<OperationQrBarcode.ErrorCorrectionEnum>
Used to adjust the error correction level for generated QR codes. The higher the level, the more error-resistant the barcode, ensuring that damaged codes will still be readable. * l = Low * m = Medium * q = Quartile * h = High
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationQrBarcode.ErrorCorrectionEnumfromValue(String value)StringgetValue()StringtoString()static OperationQrBarcode.ErrorCorrectionEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationQrBarcode.ErrorCorrectionEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
L
public static final OperationQrBarcode.ErrorCorrectionEnum L
-
M
public static final OperationQrBarcode.ErrorCorrectionEnum M
-
Q
public static final OperationQrBarcode.ErrorCorrectionEnum Q
-
H
public static final OperationQrBarcode.ErrorCorrectionEnum H
-
-
Method Detail
-
values
public static OperationQrBarcode.ErrorCorrectionEnum[] 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 (OperationQrBarcode.ErrorCorrectionEnum c : OperationQrBarcode.ErrorCorrectionEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationQrBarcode.ErrorCorrectionEnum valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<OperationQrBarcode.ErrorCorrectionEnum>
-
fromValue
public static OperationQrBarcode.ErrorCorrectionEnum fromValue(String value)
-
-