Package org.openinvoice.ubl4j.task.render

Examples of org.openinvoice.ubl4j.task.render.InvoiceRenderingTask.execute()


        }
        InvoiceType invoiceType = InvoiceTypeUnMarshaller.unMarshal(new FileInputStream(invoiceFile));
        InvoiceCreationInput input = new InvoiceRenderingInput(invoiceType);
        input = initOutputOptions(input);
        InvoiceRenderingTask task = new InvoiceRenderingTask();
        task.execute(input);
        print(task);
    }

    public Template parseCommandLineOptionTemplate() throws IOException, UBL4JException {
        Template template = null;
View Full Code Here


        InvoiceRenderingInput renderingInput =
                new InvoiceRenderingInput(creationOutput.getGeneratedInvoiceType());
        renderingInput.initFromInvoiceCreationInput(creationInput);
        renderingInput.setInvoiceToBeRendered(creationOutput.getGeneratedInvoiceType());
        InvoiceRenderingTask renderingTask = new InvoiceRenderingTask();
        return (InvoiceRenderingOutput) renderingTask.execute(renderingInput);
    }

    @Override
    public String toString() {
        return super.toString();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.