Alec,
Alec Smecher wrote:
> First, there's a mention towards the end of the code of "new
> org.apache.batik.scriptInterpreterPool" - This should read "new
> org.apache.batik.script.InterpreterPool".
Thanks for reporting this typo, I just have corrected it in the
repository, it will be changed on the web site as soon as it will be
regenerated.
> Second, the line shortly following that reading
> "ctx.setInterpreterPool(pool);" will not compile since that method is
> protected.
>
> How would I best go about setting the interpreter pool without using this
> method?
Ok during the beta process it looks like someone moved that method from
public to protected and I didn't catch that point in the script
introduction document. So you're right it doesn't work.
I don't know in which exact context you are, but there is a
BridgeContext constructor having an InterpreterPool in parameter, does
it solve your problem?
Sorry for these documentation problems,
--
Christophe
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]