org.openinvoice.ubl4j.text.pdf
Class PDFInvoiceRenderer

java.lang.Object
  extended by org.openinvoice.ubl4j.text.pdf.PDFInvoiceRenderer
All Implemented Interfaces:
InvoiceRenderer

public class PDFInvoiceRenderer
extends Object
implements InvoiceRenderer

It renders the invoice information to PDF output.

Since:
\$Date: 2012/05/19 19:36:24 $
Version:
\$Revision: 4b0ab6d6e082 $
Author:
\$Author: javad $

Constructor Summary
PDFInvoiceRenderer(oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType invoiceType, PDFInvoiceRendererBean invoiceRendererBean)
           
 
Method Summary
 void add(com.itextpdf.text.Element element)
           
 void add(PDFTableWrapper pdfTableWrapper)
           
 String getCurrencyCode()
           
 String getCurrencySymbol()
           
 com.itextpdf.text.Document getDocument()
           
 Currency getInvoiceCurrency()
           
 PDFInvoiceRendererBean getInvoiceRendererBean()
           
 oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType getInvoiceType()
           
 Locale getLocale()
           
 OutputFormat getOutputFormat()
           
 com.itextpdf.text.pdf.PdfWriter getPdfWriter()
           
 com.plainsource.commons.text.template.Template getTemplate()
           
 void render(OutputStream documentOutputStream)
           
 void setDocument(com.itextpdf.text.Document document)
           
 void setInvoiceRendererBean(PDFInvoiceRendererBean invoiceRendererBean)
           
 void setInvoiceType(oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType invoiceType)
           
 void setLocale(Locale locale)
           
 void setPdfWriter(com.itextpdf.text.pdf.PdfWriter pdfWriter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFInvoiceRenderer

public PDFInvoiceRenderer(oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType invoiceType,
                          PDFInvoiceRendererBean invoiceRendererBean)
Method Detail

getOutputFormat

public OutputFormat getOutputFormat()
Specified by:
getOutputFormat in interface InvoiceRenderer

getTemplate

public com.plainsource.commons.text.template.Template getTemplate()
Specified by:
getTemplate in interface InvoiceRenderer

render

public void render(OutputStream documentOutputStream)
            throws FailedToRenderException
Specified by:
render in interface InvoiceRenderer
Throws:
FailedToRenderException

add

public void add(PDFTableWrapper pdfTableWrapper)
         throws com.itextpdf.text.DocumentException
Throws:
com.itextpdf.text.DocumentException

add

public void add(com.itextpdf.text.Element element)
         throws com.itextpdf.text.DocumentException
Throws:
com.itextpdf.text.DocumentException

getDocument

public com.itextpdf.text.Document getDocument()

setDocument

public void setDocument(com.itextpdf.text.Document document)

getInvoiceType

public oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType getInvoiceType()

setInvoiceType

public void setInvoiceType(oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType invoiceType)

getLocale

public Locale getLocale()

setLocale

public void setLocale(Locale locale)

getInvoiceCurrency

public Currency getInvoiceCurrency()

getCurrencyCode

public String getCurrencyCode()

getCurrencySymbol

public String getCurrencySymbol()

getInvoiceRendererBean

public PDFInvoiceRendererBean getInvoiceRendererBean()

setInvoiceRendererBean

public void setInvoiceRendererBean(PDFInvoiceRendererBean invoiceRendererBean)

getPdfWriter

public com.itextpdf.text.pdf.PdfWriter getPdfWriter()

setPdfWriter

public void setPdfWriter(com.itextpdf.text.pdf.PdfWriter pdfWriter)


Copyright © 2011-2012 Plain Source. All Rights Reserved.