cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@odoko.co.uk>
Subject Re: DirectoryGenerator using abstract Source
Date Wed, 13 Jul 2005 15:29:53 GMT
Michael Wechner wrote:
> Joerg Heinicke wrote:
> 
>> On 13.07.2005 00:28, Michael Wechner wrote:
>>
>>> It seems to me that the directory generator is not really based
>>> on the "abstract methods" of an excalibur Source, but rather takes
>>> the source and "maps" it onto a java.io.File.
>>>
>>> Is that intended or just not implemented for the lack of time?
>>>
>>> I would like to make this more generic with regard to other sources, 
>>> e.g.
>>> JCR or whatever. If this makes sense then I would patch the 
>>> DirectoryGenerator,
>>> but otherwise I would write a "DirectoryGenerator" from scratch, e.g
>>> CollectionGenerator which is making use the TraversableSource interface.
>>
>>
>>
>> You don't have to:
>> $COCOON_HOME/src/blocks/repository/java/org/apache/cocoon/generation/TraversableGenerator.java

>>
> 
> 
> 
> thanks very much for the pointer. I think it would make sense to make a 
> note
> within the DirectoryGenerator that the TraversableGenerator exists and is
> more generic.

Seems fair. Please go ahead :-)

Regards, Upayavira

Mime
View raw message