Michael Ralston wrote:

Andreas Hartmann wrote:

You can implement a custom NodeFactory which returns custom Node objects.
You don't even have to use sources but can implement arbitrary node
classes, e.g. Node.getInputStream() and Node.getOutputStream() can
use arbitrary files to store the content, depending on the source URI.

Why does a node have to use InputStream and OutputStream? I can understand it is ideal for File IO,


well, I think Input/OutputStream is very generic and doesn't imply that the data
needs to come from the FS. Also see

https://svn.wyona.com/repos/public/yarep/trunk/src/examples/java/org/wyona/yarep/examples

but if you were to implement a different repository, would it be possible to create a RepositorySource which returned XML documents directly to cocoon?


a utility class/method would certainly be handy

Michi


Michael R

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]
+41 44 272 91 61


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to