org.openinvoice.ubl4j.invoice
Class InvoiceTypeHandler

java.lang.Object
  extended by org.openinvoice.ubl4j.invoice.InvoiceTypeHandler

public class InvoiceTypeHandler
extends Object

Exposes key operations that can be performed on InvoiceType.

Since:
0.3
Version:
\$Revision$
Author:
Javad K. Heshmati

Constructor Summary
InvoiceTypeHandler(File orderFile)
           
InvoiceTypeHandler(oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType invoiceType)
           
 
Method Summary
 File convertOrderToInvoice()
           
 InvoiceTypeHandlerParameters getInvoiceTypeHandlerParameters()
           
 File renderInvoiceType(OutputFormat outputFormat, com.plainsource.commons.text.template.Template template, File givenInvoiceOutputFile)
           
 void setInvoiceTypeHandlerParameters(InvoiceTypeHandlerParameters invoiceTypeHandlerParameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvoiceTypeHandler

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

InvoiceTypeHandler

public InvoiceTypeHandler(File orderFile)
                   throws FileNotFoundException,
                          UBL4JException
Throws:
FileNotFoundException
UBL4JException
Method Detail

convertOrderToInvoice

public File convertOrderToInvoice()
                           throws FileNotFoundException,
                                  FailedToMarshalException
Throws:
FileNotFoundException
FailedToMarshalException

renderInvoiceType

public File renderInvoiceType(OutputFormat outputFormat,
                              com.plainsource.commons.text.template.Template template,
                              File givenInvoiceOutputFile)
                       throws IOException,
                              FailedToRenderException
Throws:
IOException
FailedToRenderException

getInvoiceTypeHandlerParameters

public InvoiceTypeHandlerParameters getInvoiceTypeHandlerParameters()

setInvoiceTypeHandlerParameters

public void setInvoiceTypeHandlerParameters(InvoiceTypeHandlerParameters invoiceTypeHandlerParameters)


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