|
||||||||||
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.ExtendedCode39
public class ExtendedCode39
This class, which implements the BarcodeStrategy
interface,
knows how to encode the 3:1 (wide)
variant of the Extended 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 | |
---|---|
ExtendedCode39()
|
Method Summary | |
---|---|
protected java.lang.String |
getBarcodeLabelText(java.lang.String text)
Returns the text parameter unmodified. |
protected AbstractBarcodeStrategy.CharacterCode[] |
getCodes()
This implementation of getCodes returns BaseCode39.codes . |
protected java.lang.String |
preprocess(java.lang.String text)
Converts ASCII to Code 39 characters. |
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 ExtendedCode39()
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 |