Appendice: Overview of the contributed modules

Generators

readvcs

Author: Bruno Charre (INRIA Rhône-Alpes)

Reads a vCal or vCard file and generates its XML representation

Declaration:

<defextern name="readvcs" 
           class="fr.fluxmedia.tmcontrib.generator.readvcs"
           implements="generator"/>

Parameters:

file
the name of the file or the URL to read
type
vcal or vcard

Classes: readvcs and vcsReader

Use:

<generate id="readVCS" type="readvcs" out="o">
	<with-param name="file">file name or URL</with-param>
	<with-param name="type">vcal or vcard</with-param>
</generate>

Requires: Mail API from Sun Microsystem (included in JDK 1.4)

tidy

Author: Fabien Triolet (INRIA Rhône-Alpes)

Parses an HTML file, transforms it into XHTML and generates the results.

Declaration:

<defextern name="tidy" 
           class="fr.fluxmedia.tmcontrib.generator.tidy"
           implements="generator"/>

Parameters:

file
the name of the file or the URL to read

Classes: tidy

Use:

<generate id="tidyURL" type="tidy" out="o">
        <with-param name="file">http://transmorpher.inrialpes.fr</with-param>
</generate>

Requires: JTidy by ...

Serializers

writevcs

Author: Bruno Charre (INRIA Rhône-Alpes)

Takes a flux containing vCal/vCard items in XML and generates the corresponding vCal vCard files.

Declaration:

<defextern name="writevcs" 
           class="fr.fluxmedia.tmcontrib.serializer.writevcs"
           implements="serializer"/>

Parameters:

file
the name of the file to write
type
vcal or vcard

Classes: writevcs

PDFSerializer

Author: Fabien Triolet (INRIA Rhône-Alpes)

Generates a PDF or PS file from an input channel in the Formating Object format.

Declaration:

<defextern name="PDFSerializer" 
           class="fr.fluxmedia.tmcontrib.serializer.PDFSerializer"
           implements="serializer"/>

Parameters:

file
the name of the file to write
format
pdf or ps

Classes: PDFSerializer.

Use:

<serialize id="outputPDF" type="PDFSerializer" in="i">
	<with-param name="file">aFile.pdf</with-param>
	<with-param name="format">pdf</with-param>
</serialize>

Requires: Apache FOP (0.20.4), Batik (1.5beta2) and Jakarta Avalon (4.0) and Logkit (1.0).

RTFSerializer

Author: Fabien Triolet (INRIA Rhône-Alpes)

Takes a Formating Object document as input and generates the corresponding RTF file.

Declaration:

<defextern name="RTFSerializer"
           class="fr.fluxmedia.tmcontrib.serializer.RTFSerializer"
           implements="serializer"/>

Parameters:

file
the name of the file to write
format
rtf

Classes: RTFSerializer.

Use:

<serialize id="outputRF" type="RTFSerializer" in="i">
        <with-param name="file">aFile.rtf</with-param>
        <with-param name="format">rtf</with-param>
</serialize>

Requires: jfor (0.7.1)

Mergers

Dispatchers

External transformations

Iterators

Queries

Back home


http://transmorpher.inrialpes.fr/refman/contrib.html

Feel free to comment to transmorpher-dev@fluxmedia.fr, $Id: contrib.html,v 1.6 2002/10/16 07:30:32 jerome Exp $