net.sourceforge.jbarcodebean.model
Class Code93Extended

java.lang.Object
  extended by net.sourceforge.jbarcodebean.model.AbstractBarcodeStrategy
      extended by net.sourceforge.jbarcodebean.model.Code93
          extended by net.sourceforge.jbarcodebean.model.Code93Extended
All Implemented Interfaces:
BarcodeStrategy

public class Code93Extended
extends Code93


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.Code93
SHIFT_DOLLAR, SHIFT_PERCENT, SHIFT_PLUS, SHIFT_SLASH
 
Fields inherited from interface net.sourceforge.jbarcodebean.model.BarcodeStrategy
MANDATORY_CHECKSUM, NO_CHECKSUM, OPTIONAL_CHECKSUM
 
Constructor Summary
Code93Extended()
           
 
Method Summary
protected  java.lang.String preprocess(java.lang.String text)
          Subclasses implement this method to perform any preprocessing necessary on the original text to encode.
 
Methods inherited from class net.sourceforge.jbarcodebean.model.Code93
augmentWithChecksum, encode, getBarcodeLabelText, getCodes, getMarginWidth, getStartSentinel, getStopSentinel, isInterleaved, postprocess, requiresChecksum
 
Methods inherited from class net.sourceforge.jbarcodebean.model.AbstractBarcodeStrategy
computeSize, getCharacterCode, getCharacterCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Code93Extended

public Code93Extended()
Method Detail

preprocess

protected java.lang.String preprocess(java.lang.String text)
                               throws BarcodeException
Description copied from class: AbstractBarcodeStrategy
Subclasses implement this method to perform any preprocessing necessary on the original text to encode. The result of this method is the string that gets passed to the AbstractBarcodeStrategy.augmentWithChecksum(java.lang.String) method.

Overrides:
preprocess in class Code93
Parameters:
text - The raw text to encode.
Returns:
The string after preprocessing. If no preprocessing is required, the String passed to the method is returned.
Throws:
BarcodeException - Typically caused by passing in a String containing illegal characters (characters that cannot be encoded in this type of barcode).


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