com.ail.core.document
Interface Document

All Known Implementing Classes:
Core

public interface Document

Define the interfaces that the Core must implement in order to expose the document services.

Version:
$Revision$
Author:
$Author$

Method Summary
 byte[] generateDocument(java.lang.String productName, java.lang.String documentDefinitionName, Type model)
          Render a document and return it as a byte array.
 

Method Detail

generateDocument

byte[] generateDocument(java.lang.String productName,
                        java.lang.String documentDefinitionName,
                        Type model)
Render a document and return it as a byte array.

Parameters:
productName - The name of the product which "owns" the document definition
documentDefinitionName - The name of the document definition to generate the document from.
model - The dynamic data to be used in the document.
Returns:
The renderend document