Overview

The Generic Transform Interface allows a developer to invoke an external program to transform a document at retrieval time.

About this task

The Generic Transform Interface can be implemented in two ways.

  1. Basic Implementation - Ideal for transform vendors that provide a basic command line executable. This is the easiest way to implement a transform within ODWEK. This method utilizes an XML interface to instruct ODWEK to get applicable document details stored in the Content Manager OnDemand server to build a command that transforms data when executed. It can also allow the pass-through of transform-specific options to add to the command parameters.
  2. Advanced Implementation - The ODWEK Java API also provides a Java interface that a developer can use to add even more flexibility to their client solution. The Java interface allows a developer to get the document byte stream from ODWEK, then use any method(s) they choose to transform the document. This approach could include calls to web services that allow remote transformation. Once the document is transformed, the resulting data is returned to ODWEK where it is passed back to the caller.