-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. >
In fact IMHO, it should be deprecated in favor of TraversableGenerator... - -- Unico -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFC1UORcuec8tVNKAwRAiA4AJ94XDoBh0ACS2iTFW+uqTDcIBJ6lQCg34Fr xYZdDb1pyefSC/Wlf2FAyjw= =y0i0 -----END PGP SIGNATURE-----
