public class BarcodeXmlWriter extends Object implements BarcodeVisitor
| Constructor and Description |
|---|
BarcodeXmlWriter(JRXmlWriter reportWriter,
JRComponentElement componentElement) |
BarcodeXmlWriter(JRXmlWriter reportWriter,
JRComponentElement componentElement,
String version,
VersionComparator versionComparator) |
public BarcodeXmlWriter(JRXmlWriter reportWriter, JRComponentElement componentElement)
public BarcodeXmlWriter(JRXmlWriter reportWriter, JRComponentElement componentElement, String version, VersionComparator versionComparator)
public void writeBarcode()
protected void startBarcode(BarcodeComponent barcode)
protected void endBarcode()
throws IOException
IOExceptionprotected void writeBaseAttributes(BarcodeComponent barcode)
protected void writeBaseContents(BarcodeComponent barcode) throws IOException
IOExceptionpublic void visitCodabar(CodabarComponent codabar)
visitCodabar in interface BarcodeVisitorpublic void visitCode128(Code128Component code128)
visitCode128 in interface BarcodeVisitorpublic void visitDataMatrix(DataMatrixComponent dataMatrix)
visitDataMatrix in interface BarcodeVisitorpublic void visitEANCode128(EAN128Component ean128)
visitEANCode128 in interface BarcodeVisitorpublic void visitCode39(Code39Component code39)
visitCode39 in interface BarcodeVisitorpublic void visitUPCA(UPCAComponent upcA)
visitUPCA in interface BarcodeVisitorpublic void visitUPCE(UPCEComponent upcE)
visitUPCE in interface BarcodeVisitorpublic void visitEAN13(EAN13Component ean13)
visitEAN13 in interface BarcodeVisitorpublic void visitEAN8(EAN8Component ean8)
visitEAN8 in interface BarcodeVisitorpublic void visitInterleaved2Of5(Interleaved2Of5Component interleaved2Of5)
visitInterleaved2Of5 in interface BarcodeVisitorprotected void writeFourStateAttributes(FourStateBarcodeComponent barcode)
public void visitRoyalMailCustomer(RoyalMailCustomerComponent royalMailCustomer)
visitRoyalMailCustomer in interface BarcodeVisitorpublic void visitUSPSIntelligentMail(USPSIntelligentMailComponent intelligentMail)
visitUSPSIntelligentMail in interface BarcodeVisitorpublic void visitPostnet(POSTNETComponent postnet)
visitPostnet in interface BarcodeVisitorpublic void visitPDF417(PDF417Component pdf417)
visitPDF417 in interface BarcodeVisitorprotected void writeExpression(String name, JRExpression expression, boolean writeClass) throws IOException
IOExceptionCopyright © 2014. All rights reserved.