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.
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:
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.
Next chapter: Appendice: Installation guide