net.sourceforge.barbecue.formatter
Class SVGFormatter

java.lang.Object
  extended by net.sourceforge.barbecue.formatter.SVGFormatter
All Implemented Interfaces:
BarcodeFormatter

public class SVGFormatter
extends Object
implements BarcodeFormatter


Constructor Summary
SVGFormatter(Writer out)
           
SVGFormatter(Writer out, double scalar, String units)
           
 
Method Summary
 void format(Barcode barcode)
           
static String formatAsSVG(Barcode barcode)
           
 void setSVGScalar(double scalar, String units)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGFormatter

public SVGFormatter(Writer out)

SVGFormatter

public SVGFormatter(Writer out,
                    double scalar,
                    String units)
Method Detail

formatAsSVG

public static String formatAsSVG(Barcode barcode)
                          throws FormattingException
Throws:
FormattingException

format

public void format(Barcode barcode)
            throws FormattingException
Specified by:
format in interface BarcodeFormatter
Throws:
FormattingException

setSVGScalar

public void setSVGScalar(double scalar,
                         String units)


Copyright © 2003-2011 barbecue.sourceforge.net. All Rights Reserved.