|
|||||||||||
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
Base class for all Symbologies.
A symbology is a protocol for representing information (alphabetic, numeric, or binary). Each symbol has it own rules governing how it is to be read, interpreted and validated.
Barcodes are a combination of numbers, letters and other special characters encoded in bar and space combinations and a number of technical specifications or characteristics to define and separate one symbology from another.
For more information about barcode symbologies and their uses visit the following sites:
Field Summary | |
protected long |
options
Value that indicates the options set for a symbology. |
Constructor Summary | |
Symbology(long validOptions)
Constructs a new Symbology object. |
Method Summary | |
abstract java.lang.String |
getName()
Returns the symbology name. |
long |
getOptions()
Returns the configured options mask or symbology options. |
abstract int |
getType()
Returns the symbology type. |
abstract void |
setOptions(long options)
Sets the configured options for the symbology. |
protected void |
validateOptions(long options)
Validates the received options against the valid options of this symbology. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected long options
Constructor Detail |
public Symbology(long validOptions)
validOptions
- a mask containing the valid options for this symbologyMethod Detail |
public long getOptions()
protected void validateOptions(long options) throws InvalidSymbologyException
options
- the options to validate
InvalidSymbologyException
- thrown if the received options are invalid for this symbologypublic abstract void setOptions(long options) throws InvalidSymbologyException
options
- the symbology options mask
InvalidSymbologyException
- thrown if the received options are invalid for this symbologypublic abstract java.lang.String getName()
public abstract int getType()
SymbologyType
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |