org.openinvoice.ubl4j.text.tex
Class TexInvoiceRenderer
java.lang.Object
org.openinvoice.ubl4j.text.DefaultInvoiceRenderer
org.openinvoice.ubl4j.text.tex.TexInvoiceRenderer
- All Implemented Interfaces:
- InvoiceRenderer
public class TexInvoiceRenderer
- extends DefaultInvoiceRenderer
- implements InvoiceRenderer
- Since:
- \$Date: 2011/07/30 22:20:09 $
- Version:
- \$Revision: d86e75fb9d28 $
- Author:
- \$Author: javad $
Constructor Summary |
TexInvoiceRenderer(oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType invoiceType)
|
TexInvoiceRenderer(oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType invoiceType,
com.plainsource.commons.text.template.Template texTemplate)
|
Methods inherited from class org.openinvoice.ubl4j.text.DefaultInvoiceRenderer |
addAndReplaceTokens, convertInvoiceQuantityIfRequired, getInvoiceType, getLocale, getTaxRateAsFormattedNumber, getTemplate, initLocaleAndCurrency, render, setInvoiceType, setLocale, setTemplate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TexInvoiceRenderer
public TexInvoiceRenderer(oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType invoiceType)
throws IOException
- Throws:
IOException
TexInvoiceRenderer
public TexInvoiceRenderer(oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType invoiceType,
com.plainsource.commons.text.template.Template texTemplate)
throws IOException
- Throws:
IOException
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.