com.adobe.icc.render
Interface IRenderService


public interface IRenderService

Interface for render Service integration classes


Method Summary
 Document invokeDDX(com.adobe.idp.Document ddx, java.util.Map inputMap)
          Invokes assembler service with the given ddx and inputDocument map.
 byte[] renderPdfForm(byte[] xmlData, byte[] xdpData)
          Render an interactive PDF with settings based on the given render profile
 byte[] renderPrintPdf(byte[] xmlData, byte[] xdpData)
          Render a print PDF with settings based on the given render profile
 void setRenderHandlers(java.util.List renderHandlers)
          Register the document handlers for the service.
 

Method Detail

renderPdfForm

byte[] renderPdfForm(byte[] xmlData,
                     byte[] xdpData)
                     throws java.lang.Exception
Render an interactive PDF with settings based on the given render profile

Parameters:
xmlData - byte array with XML data to use for rendering. If left null a PDF Form with no pre-filled data will be rendered
xdpdata - byteArray with the XDP to render. This is required otherwise
Returns:
byte array with rendered PDF
Throws:
java.lang.Exception

renderPrintPdf

byte[] renderPrintPdf(byte[] xmlData,
                      byte[] xdpData)
                      throws java.lang.Exception
Render a print PDF with settings based on the given render profile

Parameters:
xmlData - byte array with XML data to use for rendering. If left null a PDF Form with no pre-filled data will be rendered
xdpdata - byteArray with the XDP to render. This is required otherwise
Returns:
byte array with rendered PDF
Throws:
java.lang.Exception

setRenderHandlers

void setRenderHandlers(java.util.List renderHandlers)
Register the document handlers for the service. The handlers would be invoked for each of the above render operations based on the type of the handler (interactive of non-interactive).

Note that handlers are invoked in the order they are registered in the given renderHandlers List.

Parameters:
renderHandlers -
See Also:
DocumentRenderHandler

invokeDDX

Document invokeDDX(com.adobe.idp.Document ddx,
                   java.util.Map inputMap)
                   throws ICCException
Invokes assembler service with the given ddx and inputDocument map.

Parameters:
ddx - - ddx needs to be passed to assembler service.
inputMap - - input document map needs to be passed to the assembler service.
Returns:
the assembled document. Assumes the result will contain a single document. Exeption is thrown otherwise.
Throws:
ICCException
OperationException


[an error occurred while processing this directive] [an error occurred while processing this directive]