cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ovidiu Predescu <ovi...@cup.hp.com>
Subject Re: [C2] [2.1-dev] proposed changes to the Source interface
Date Thu, 23 Aug 2001 00:03:19 GMT
Sylvain,

On Thu, 16 Aug 2001 10:52:25 +0200, Sylvain Wallez <sylvain.wallez@anyware-tech.com>
wrote:

> > public interface XMLFragment
> > {
> >   void toSAX(ContentHandler handler) throws SAXException;
> >   void toSAX(XMLConsumer consumer) throws SAXException;
> >   void toDOM(Node node) throws Exception;
> > }
> Be careful with XMLFragment : it's the only class that is common to both
> Cocoon1 and Cocoon2. This was meant to facilitate the transition by
> allowing people to represent their application objects with an
> XMLFragment that would be handled equally by C1 and C2.

Do you think is OK if I add the toSAX(XMLConsumer) method to
XMLFragment?

Greetings,
-- 
Ovidiu Predescu <ovidiu@cup.hp.com>
http://orion.nsr.hp.com/ (inside HP's firewall only)
http://sourceforge.net/users/ovidiu/ (my SourceForge page)
http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff)

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


Mime
View raw message