Export interfaces

Export interfaces enable the use of Transmorpher transformations in other settings. They are defined as the main process in a particular transformation (which is called when the exported transformation is invoked).

Under the interpretation environment of Transmorpher, all transformation are executed like a standalone transformation.

Main

The main interface allows for the implementation of a stand-alone Transmorpher transformation.

This interface is compiled as a class, named after the name of the main element implementing "runable". It can be invoked in a command line as:

java name Parameters can be passed to the running program through the use of the "-D" option as in: java name -Dinputfile=toto.xml -Douputfile=toto.html

Servlet

Transformer

The transformer interface is defined in the Java API for XML processing (JAXP). Transmorpher can export a transformation implementing the transformer interface. It can be called from a Java program with the JAXP interface.

<transformer type="broadcast" id="dispatch 2" in="R112" out="D1 D3"/>

Next chapter: Appendice: Installation guide


Feel free to comment to transmorpher-dev@fluxmedia.fr, Last modified: Tue May 29 14:16:53 CEST 2001
$Id: main.html,v 1.1 2001/10/10 07:29:23 jerome Exp $