net.sourceforge.jbarcodebean.model
Class ExtendedCode39_2to1

java.lang.Object
  extended by net.sourceforge.jbarcodebean.model.AbstractBarcodeStrategy
      extended by net.sourceforge.jbarcodebean.model.BaseCode39
          extended by net.sourceforge.jbarcodebean.model.ExtendedCode39
              extended by net.sourceforge.jbarcodebean.model.ExtendedCode39_2to1
All Implemented Interfaces:
java.io.Serializable, BarcodeStrategy

public class ExtendedCode39_2to1
extends ExtendedCode39
implements java.io.Serializable

This class, which implements the BarcodeStrategy interface, knows how to encode the 2:1 (narrow) variant of the Extended Code 3 of 9 barcode type.

See Also:
Serialized Form

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_2to1()
           
 
Method Summary
protected  AbstractBarcodeStrategy.CharacterCode[] getCodes()
          This implementation of getCodes returns BaseCode39.codes2to1.
 
Methods inherited from class net.sourceforge.jbarcodebean.model.ExtendedCode39
getBarcodeLabelText, preprocess
 
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

ExtendedCode39_2to1

public ExtendedCode39_2to1()
Method Detail

getCodes

protected AbstractBarcodeStrategy.CharacterCode[] getCodes()
This implementation of getCodes returns BaseCode39.codes2to1.

Overrides:
getCodes in class ExtendedCode39
Returns:
An array of CharacterCode objects, one for each possible character that can be encoded using this strategy.


Copyright © 2004-2009 The JBarcodeBean project. All Rights Reserved.