You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Nicola Ken Barozzi <ni...@apache.org> on 2002/07/25 15:35:00 UTC
[Morphos] Initial code commit in Jakarta Commons Sandbox
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