org.openinvoice.ubl4j.text.html
Class HtmlInvoiceRenderer

java.lang.Object
  extended by org.openinvoice.ubl4j.text.DefaultInvoiceRenderer
      extended by org.openinvoice.ubl4j.text.html.HtmlInvoiceRenderer
All Implemented Interfaces:
InvoiceRenderer

public class HtmlInvoiceRenderer
extends DefaultInvoiceRenderer
implements InvoiceRenderer

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

Constructor Summary
HtmlInvoiceRenderer(oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType invoiceType)
           
HtmlInvoiceRenderer(oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType invoiceType, com.plainsource.commons.text.template.Template htmlTemplate)
           
 
Method Summary
 com.plainsource.commons.text.template.Template createTemplate(File file)
           
 com.plainsource.commons.text.template.Template createTemplate(InputStream is)
           
 OutputFormat getOutputFormat()
           
 void postProcess()
           
 
Methods inherited from class org.openinvoice.ubl4j.text.DefaultInvoiceRenderer
addAndReplaceTokens, convertInvoiceQuantityIfRequired, getInvoiceType, getLocale, getTaxRateAsFormattedNumber, getTaxRateAsNumber, getTemplate, initLocaleAndCurrency, render, setInvoiceType, setLocale, setTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openinvoice.ubl4j.text.InvoiceRenderer
getTemplate, render
 

Constructor Detail

HtmlInvoiceRenderer

public HtmlInvoiceRenderer(oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType invoiceType)
                    throws IOException
Throws:
IOException

HtmlInvoiceRenderer

public HtmlInvoiceRenderer(oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType invoiceType,
                           com.plainsource.commons.text.template.Template htmlTemplate)
                    throws IOException
Throws:
IOException
Method Detail

createTemplate

public com.plainsource.commons.text.template.Template createTemplate(File file)
                                                              throws IOException
Specified by:
createTemplate in class DefaultInvoiceRenderer
Throws:
IOException

createTemplate

public com.plainsource.commons.text.template.Template createTemplate(InputStream is)
                                                              throws IOException
Specified by:
createTemplate in class DefaultInvoiceRenderer
Throws:
IOException

getOutputFormat

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

postProcess

public void postProcess()
Specified by:
postProcess in class DefaultInvoiceRenderer


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