net.sourceforge.jbarcodebean.model
Class Interleaved25_2to1

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

public class Interleaved25_2to1
extends Interleaved25
implements java.io.Serializable

This class, which implements the BarcodeStrategy interface, knows how to encode the 2:1 (narrow) variant of the Interleaved Code 2 of 5 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
Interleaved25_2to1()
           
 
Method Summary
protected  AbstractBarcodeStrategy.CharacterCode[] getCodes()
          This implementation of getCodes returns an array of CharacterCode objects for the narrow Interleaved Code25 format.
 
Methods inherited from class net.sourceforge.jbarcodebean.model.Interleaved25
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

Interleaved25_2to1

public Interleaved25_2to1()
Method Detail

getCodes

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

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