public class HtmlInvoiceRenderer extends DefaultInvoiceRenderer implements InvoiceRenderer
Constructor and Description |
---|
HtmlInvoiceRenderer(oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType invoiceType,
com.plainsource.commons.text.template.Template htmlTemplate,
UBL4JConfigurationBean ubl4JConfigurationBean) |
HtmlInvoiceRenderer(oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType invoiceType,
UBL4JConfigurationBean ubl4JConfigurationBean) |
Modifier and Type | Method and Description |
---|---|
com.plainsource.commons.text.template.Template |
createTemplate(File file) |
com.plainsource.commons.text.template.Template |
createTemplate(InputStream is) |
OutputFormat |
getOutputFormat() |
void |
postProcess() |
addAndReplaceTokens, convertInvoiceQuantityIfRequired, getInvoiceType, getLocale, getTaxRateAsFormattedNumber, getTaxRateAsNumber, getTemplate, initLocale, render, setInvoiceType, setLocale, setTemplate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTemplate, render
public HtmlInvoiceRenderer(oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType invoiceType, UBL4JConfigurationBean ubl4JConfigurationBean) throws IOException
IOException
public HtmlInvoiceRenderer(oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType invoiceType, com.plainsource.commons.text.template.Template htmlTemplate, UBL4JConfigurationBean ubl4JConfigurationBean) throws IOException
IOException
public com.plainsource.commons.text.template.Template createTemplate(File file) throws IOException
createTemplate
in class DefaultInvoiceRenderer
IOException
public com.plainsource.commons.text.template.Template createTemplate(InputStream is) throws IOException
createTemplate
in class DefaultInvoiceRenderer
IOException
public OutputFormat getOutputFormat()
getOutputFormat
in interface InvoiceRenderer
getOutputFormat
in class DefaultInvoiceRenderer
public void postProcess()
postProcess
in class DefaultInvoiceRenderer
Copyright © 2011-2013 Plain Source. All Rights Reserved.