net.sourceforge.jbarcodebean.model
Class Codabar_2to1

java.lang.Object
  extended by net.sourceforge.jbarcodebean.model.AbstractBarcodeStrategy
      extended by net.sourceforge.jbarcodebean.model.Codabar
          extended by net.sourceforge.jbarcodebean.model.Codabar_2to1
All Implemented Interfaces:
java.io.Serializable, BarcodeStrategy

public class Codabar_2to1
extends Codabar
implements java.io.Serializable

This class, which implements the BarcodeStrategy interface, knows how to encode the 2:1 (narrow) variant of the Codabar 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 interface net.sourceforge.jbarcodebean.model.BarcodeStrategy
MANDATORY_CHECKSUM, NO_CHECKSUM, OPTIONAL_CHECKSUM
 
Constructor Summary
Codabar_2to1()
           
 
Method Summary
protected  AbstractBarcodeStrategy.CharacterCode[] getCodes()
          This implementation of getCodes returns an array of CharacterCode objects for the narrow Codabar format.
 
Methods inherited from class net.sourceforge.jbarcodebean.model.Codabar
augmentWithChecksum, getBarcodeLabelText, getMarginWidth, getStartSentinel, getStopSentinel, isInterleaved, postprocess, preprocess, 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

Codabar_2to1

public Codabar_2to1()
Method Detail

getCodes

protected AbstractBarcodeStrategy.CharacterCode[] getCodes()
This implementation of getCodes returns an array of CharacterCode objects for the narrow Codabar format.

Overrides:
getCodes in class Codabar
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.