cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <nicola...@apache.org>
Subject [Morphos] Initial code commit in Jakarta Commons Sandbox
Date Thu, 25 Jul 2002 13:35:00 GMT

Initial codebase for Morphos is now in jakarta-commons-sandbox/morphos.


The Morphos package transforms "file formats" in a pluggable and 
extensible manner.

The code units to transform from-to different formats are called Morphers.

These morphers transform between different ObjectFlavors, that specify 
both the datatype and the dataform.
For example a gif image file and a jped image file have a different 
dataType but same dataForm (file). An SVG file and an SVG DOM in memory 
have same dataType but different dataForm.

Morphos.java is the commandline version, and currently it has hardcoded 
the only Morpher present, the HSSFMorpher, which has been taken from the 
HSSFSerializer in Cocoon, as originally planned.

MorpherFactory.java makes it possible to specify clever ways of 
autoresolving morphers given the ObjectFlavors; currently it's not yet 
implemented.
Pipelining is also not yet done, and in Morphos.java it's done by hand.

To test it run

   ant examples

and the samples will be transformed from XML files to XLS files in /build.

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message