cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Tripodi <simone.trip...@gmail.com>
Subject Re: SAXGenerator - URLGenerator
Date Sun, 13 Dec 2009 14:10:10 GMT
Hi Reinhard,
it makes a lot of sense - at least for me - since their internal
behaviors are exactly the same.
Have a nice sunday,
Simo

On Sun, Dec 13, 2009 at 2:44 PM, Reinhard Pötz <reinhard@apache.org> wrote:
>
> Long time ago (I think when the StAX module was added) we discussed to
> have a SAXGenerator which is mainly useful when the pipeline API is
> used. It has constructors for File, InputStream, String and Node. See
> http://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/SAXGenerator.java
>
> I also renamed FileGenerator to URLGenerator because this better
> reflects what it really does.
>
> But thinking more about this it would also make sense to merge the
> URLGenerator into the SAXGenerator.
>
> WDYT?
>
> BTW, these changes are transparent at sitemap level because the
> generator type 'file' is still supported and now points to the
> URLGenerator. Additionally I also added a shorthand 'url'.
>
> --
> Reinhard Pötz                           Managing Director, {Indoqa} GmbH
>                         http://www.indoqa.com/en/people/reinhard.poetz/
>
> Member of the Apache Software Foundation
> Apache Cocoon Committer, PMC member                  reinhard@apache.org
> ________________________________________________________________________
>



-- 
http://www.google.com/profiles/simone.tripodi

Mime
View raw message