|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sap.ip.me.api.pios.symbology.Symbology
com.sap.ip.me.api.pios.symbology.SymbologyLinear
com.sap.ip.me.api.pios.symbology.Codabar
Represents the Codabar Symbology.
Codabar is an older variable length symbology originally used in libraries, photo labs, blood banks, air parcel express applications, shipping companies primarily for tracking and tracing. The format encodes 16 data characters plus four unique start/stop characters. A check digit may also be added to provide an extra measure of security.
The following options can be set for this symbology:
Required: optional
Used by: Scanner
Default: No editing
Possible values:
...
Codabar codabar = new Codabar(Codabar.CHECK_DIGIT_MOD16);
...
Field Summary | |
static long |
CHECK_DIGIT_MOD16
Constant to indicate Codabar check digit Mod16 option. |
static long |
CHECK_DIGIT_TRANSMIT
Constant to indicate reporting of the bar code check digit. |
static long |
CLSI_OPTIONAL
Constant to indicate CLSI is optional for scanning |
static long |
CLSI_REQUIRED
Constant to indicate CLIS is required for scanning |
static long |
NOTIS
Constant to indicate NOTIS formatting. |
Fields inherited from class com.sap.ip.me.api.pios.symbology.Symbology |
options |
Constructor Summary | |
Codabar()
Constructs a new Codabar object. |
|
Codabar(long options)
Constructs a new Codabar object with the symbology options provided. |
Method Summary | |
java.lang.String |
getName()
Returns the symbology name. |
int |
getType()
Returns the symbology type. |
void |
setOptions(long options)
Sets the configured options for the symbology. |
Methods inherited from class com.sap.ip.me.api.pios.symbology.Symbology |
getOptions, validateOptions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final long CLSI_OPTIONAL
public static final long NOTIS
public static final long CHECK_DIGIT_MOD16
public static final long CHECK_DIGIT_TRANSMIT
public static final long CLSI_REQUIRED
Constructor Detail |
public Codabar()
public Codabar(long options) throws InvalidSymbologyException
The options value is either one of the option constants defined by this class,
or must be built by bitwise OR'ing together (that is, using
the long
"|" operator) two or more of those option constants.
options
- the symbology options mask
InvalidSymbologyException
- thrown if the received options are invalid for this symbologyMethod Detail |
public java.lang.String getName()
getName
in class Symbology
public int getType()
getType
in class Symbology
SymbologyType
public void setOptions(long options) throws InvalidSymbologyException
setOptions
in class Symbology
options
- the symbology options mask
InvalidSymbologyException
- thrown if the received options are invalid for this symbology
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |