org.openinvoice.ubl4j.common
Class OrderTypeToInvoiceTypeTransformer

java.lang.Object
  extended by org.openinvoice.ubl4j.common.OrderTypeToInvoiceTypeTransformer

public class OrderTypeToInvoiceTypeTransformer
extends Object

Since:
\$Date: 2012/11/17 23:00:40 $
Version:
\$Revision: 269823a876f3 $
Author:
\$Author: javad $

Constructor Summary
OrderTypeToInvoiceTypeTransformer()
           
OrderTypeToInvoiceTypeTransformer(UBL4JConfigurationBean ubl4JConfigurationBean)
           
 
Method Summary
 boolean addInvoiceConstraint(InvoiceTypeConstraint constraint)
           
 boolean addInvoiceProcessUnit(InvoiceTypeProcessUnit processUnit)
           
 boolean addOrderConstraint(OrderTypeConstraint constraint)
           
 oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType create(InputStream orderInputStream)
           
 oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType create(oasis.names.specification.ubl.schema.xsd.order_2.OrderType orderType)
           
 oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType read(InputStream invoiceInputStream)
           
 void write(oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType invoiceType, OutputStream os)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrderTypeToInvoiceTypeTransformer

public OrderTypeToInvoiceTypeTransformer()

OrderTypeToInvoiceTypeTransformer

public OrderTypeToInvoiceTypeTransformer(UBL4JConfigurationBean ubl4JConfigurationBean)
Method Detail

addOrderConstraint

public boolean addOrderConstraint(OrderTypeConstraint constraint)

addInvoiceConstraint

public boolean addInvoiceConstraint(InvoiceTypeConstraint constraint)

addInvoiceProcessUnit

public boolean addInvoiceProcessUnit(InvoiceTypeProcessUnit processUnit)

read

public oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType read(InputStream invoiceInputStream)
                                                                    throws UBL4JException
Throws:
UBL4JException

create

public oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType create(InputStream orderInputStream)
                                                                      throws UBL4JException
Throws:
UBL4JException

write

public void write(oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType invoiceType,
                  OutputStream os)
           throws UBL4JException
Throws:
UBL4JException

create

public oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType create(oasis.names.specification.ubl.schema.xsd.order_2.OrderType orderType)
                                                                      throws UBL4JException
Throws:
UBL4JException


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