cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: SAXGenerator - URLGenerator
Date Sun, 13 Dec 2009 14:59:31 GMT
On 13.12.2009 14:44, Reinhard Pötz 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?

A long time ago I argued for renaming the FileGenerator to XMLGenerator 
since the generators are usually named after the input they accept 
(Midi, HTML, Directory, JSP, JXTemplate, etc.). I'm not sure 
SAXGenerator reflects that exactly but it's good enough I guess.

Joerg

Mime
View raw message