|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jbarcodebean.model.AbstractBarcodeStrategy net.sourceforge.jbarcodebean.model.BaseCode39 net.sourceforge.jbarcodebean.model.Code39
public class Code39
This class, which implements the BarcodeStrategy
interface,
knows how to encode the 3:1 (wide)
variant of the Code 3 of 9 barcode type.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class net.sourceforge.jbarcodebean.model.AbstractBarcodeStrategy |
---|
AbstractBarcodeStrategy.CharacterCode |
Field Summary |
---|
Fields inherited from class net.sourceforge.jbarcodebean.model.BaseCode39 |
---|
codes, codes2to1 |
Fields inherited from interface net.sourceforge.jbarcodebean.model.BarcodeStrategy |
---|
MANDATORY_CHECKSUM, NO_CHECKSUM, OPTIONAL_CHECKSUM |
Constructor Summary | |
---|---|
Code39()
|
Method Summary | |
---|---|
protected java.lang.String |
getBarcodeLabelText(java.lang.String text)
Returns an UPPER CASE version of the text parameter. |
protected AbstractBarcodeStrategy.CharacterCode[] |
getCodes()
This implementation of getCodes returns BaseCode39.codes . |
protected java.lang.String |
preprocess(java.lang.String text)
Returns an UPPER CASE version of the text parameter. |
Methods inherited from class net.sourceforge.jbarcodebean.model.BaseCode39 |
---|
augmentWithChecksum, getMarginWidth, getStartSentinel, getStopSentinel, isInterleaved, postprocess, requiresChecksum |
Methods inherited from class net.sourceforge.jbarcodebean.model.AbstractBarcodeStrategy |
---|
computeSize, encode, getCharacterCode, getCharacterCode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Code39()
Method Detail |
---|
protected AbstractBarcodeStrategy.CharacterCode[] getCodes()
BaseCode39.codes
.
getCodes
in class AbstractBarcodeStrategy
CharacterCode
objects, one for each possible character
that can be encoded using this strategy.protected java.lang.String preprocess(java.lang.String text)
preprocess
in class AbstractBarcodeStrategy
text
- The raw text to encode.
protected java.lang.String getBarcodeLabelText(java.lang.String text)
getBarcodeLabelText
in class AbstractBarcodeStrategy
text
- The raw text to encode.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |