>From Java you can use:
Source source = SourceUtil.getSource(resource, null, parameters, resolver);
Document doc = SourceUtil.toDom(source);
For a complete example of this take a look at the PipelineAuthenticator
class in the authentication-fw block.
Ralph
-----Original Message-----
From: Mark Lundquist
To: [EMAIL PROTECTED]
Sent: 3/1/2004 7:08 PM
Subject: Re: call sitemap from Java?
On Mar 1, 2004, at 6:41 PM, I wrote:
>
> Hi,
>
> I would like to be able to do something like
> cocoon.processPipelineTo(), but from within a Java class instead of
> flowscript.
>
> Can I do that?
>
> Thanks a lot,
> Mark
hmmm... since the Cocoon URIResolver is in effect, then something like
(new URL("cocoon://whatever")).openConnection().getInputStream()
yields a stream that I can do whatever with, right?
~ml
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]