Package net.webpdf.wsclient.openapi
Enum OperationPdf417Barcode.CompactionModeEnum
- java.lang.Object
-
- java.lang.Enum<OperationPdf417Barcode.CompactionModeEnum>
-
- net.webpdf.wsclient.openapi.OperationPdf417Barcode.CompactionModeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationPdf417Barcode.CompactionModeEnum>
- Enclosing class:
- OperationPdf417Barcode
public static enum OperationPdf417Barcode.CompactionModeEnum extends Enum<OperationPdf417Barcode.CompactionModeEnum>
If PDF417 barcode compression has been enabled with the \"compact\" attribute, the encoding selected here for the compression of generated PDF417 barcodes will be used. * auto = Try to determine the best encoding method automatically. * byte = Select a byte encoding method in which every 5 codewords represent 6 bytes. * numeric = Select a numeric encoding method in which a group of 15 codewords represents up to 44 decimal numbers. * text = Select a text encoding method in which each codeword represents up to 2 letters.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationPdf417Barcode.CompactionModeEnumfromValue(String value)StringgetValue()StringtoString()static OperationPdf417Barcode.CompactionModeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationPdf417Barcode.CompactionModeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT
public static final OperationPdf417Barcode.CompactionModeEnum TEXT
-
NUMERIC
public static final OperationPdf417Barcode.CompactionModeEnum NUMERIC
-
BYTE
public static final OperationPdf417Barcode.CompactionModeEnum BYTE
-
AUTO
public static final OperationPdf417Barcode.CompactionModeEnum AUTO
-
-
Method Detail
-
values
public static OperationPdf417Barcode.CompactionModeEnum[] 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 (OperationPdf417Barcode.CompactionModeEnum c : OperationPdf417Barcode.CompactionModeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationPdf417Barcode.CompactionModeEnum 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<OperationPdf417Barcode.CompactionModeEnum>
-
fromValue
public static OperationPdf417Barcode.CompactionModeEnum fromValue(String value)
-
-