org.openinvoice.ubl4j.text.tex
Class TexInvoiceRenderer

java.lang.Object
  extended by org.openinvoice.ubl4j.text.DefaultInvoiceRenderer
      extended by 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)
           
 
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, 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

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
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.