commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
Subject Re: [Morphos] Status?
Date Sun, 14 Jul 2002 17:08:20 GMT
Morphos got paused as the Pattern project got committed into the commons
sandbox. As a result, no Morphos code has yet been committed. The extact
relationship between Pattern's Transformer and Morpos' Morpher is yet to be
determined.

Having said that, a SAX content handler is more complex than I originally
intended for Pattern to cope with. Transformer's interface is
Object transform(Object);
and is intended to focus on things like type conversion.

So thats some background, but this really needs Nicola Ken to update us.

Stephen

----- Original Message -----
From: "Sven Kuenzler" <svenk@imost.de>
Newsgroups: gmane.comp.jakarta.commons.devel
To: <commons-dev@jakarta.apache.org>
Sent: Sunday, July 14, 2002 5:25 PM
Subject: [Morphos] Status?


> What is the status of the Morphus project? I read the discussion about
> the potential API some time ago and I'd like to know whether there is
> consensus about these interfaces.
>
> Background: I have isolated the Gnumeric->Excel conversion stuff from
> Cocoon. The plan was to make this one of the first Morphers. However, I
> have not figured out yet how this should work with the proposed Morpher
> interface:
>
>   public interface Morpher {
>       void morph(Object input, Object output) throws MorphException,
> IOException;
>
>       void addNotificationListener(NotificationListener nl);
>       void removeNotificationListener(NotificationListener nl);
>       void clearNotificationListeners();
>   }
>
> Problem: Because of his former life as C2 serializer, my wannabe Morpher
> is an org.xml.sax.ContentHandler (essentially). Thus, there is no single
> "input" object, but a series of SAX events. I guess this is a quite
> typical incarnation for XML transforming code. So, how should a Morpher
> deal with this situation?
>
> Another question: What is the task of NotificatonListener and how should
> it look like?
>
> Sven
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:commons-dev-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message