Package org.gs1.gs1encoders
Enum Class GS1Encoder.Symbology
- All Implemented Interfaces:
Serializable,Comparable<GS1Encoder.Symbology>,Constable
- Enclosing class:
GS1Encoder
Recognised GS1 barcode formats ("symbologies") for processing scan data.
This enum defines all supported GS1 barcode symbology types that can be used with the encoder. Each symbology has specific characteristics and use cases.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGS1 DataBar Expanded (Stacked)GS1 DataBar LimitedGS1 DataBar OmnidirectionalGS1 DataBar StackedGS1 DataBar Stacked OmnidirectionalGS1 DataBar Truncated(GS1) Data Matrix(GS1) DotCodeEAN-13EAN-8GS1-128 with CC-A or CC-BGS1-128 with CCNone definedValue is the number of symbologies(GS1) QR CodeUPC-AUPC-E -
Method Summary
Modifier and TypeMethodDescriptionstatic GS1Encoder.SymbologyReturns the enum constant of this class with the specified name.static GS1Encoder.Symbology[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
None defined -
DataBarOmni
GS1 DataBar Omnidirectional -
DataBarTruncated
GS1 DataBar Truncated -
DataBarStacked
GS1 DataBar Stacked -
DataBarStackedOmni
GS1 DataBar Stacked Omnidirectional -
DataBarLimited
GS1 DataBar Limited -
DataBarExpanded
GS1 DataBar Expanded (Stacked) -
UPCA
UPC-A -
UPCE
UPC-E -
EAN13
EAN-13 -
EAN8
EAN-8 -
GS1_128_CCA
GS1-128 with CC-A or CC-B -
GS1_128_CCC
GS1-128 with CC -
QR
(GS1) QR Code -
DM
(GS1) Data Matrix -
DotCode
(GS1) DotCode -
NUMSYMS
Value is the number of symbologies
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-