commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert burrell donkin <>
Subject Re: [Digester] Line number parameters in CallMethods
Date Wed, 07 May 2003 09:30:56 GMT
On Monday, May 5, 2003, at 08:20 PM, Jeremy Wohl wrote:

> On Sun, Apr 06, 2003 at 09:00:25PM +0100, robert burrell donkin wrote:


>> the second part is creating a custom rule which sets the parameter value
>> used by CallMethodRule. i suggest that you take a look at CallParamRule.
>> the parameters used by CallMethodRule are stored on the digester object
>> stack. it should be pretty straightforward.
> Looks like the "param stack" is private (protected) to Digester and
> called with package-private methods (peekParams, ..) by CallMethodRule
> and CallParamRule.
> Is there a way to touch without modifying the Digester class?

i've changed the params stack accessor methods to be public (there is no 
good reason why they need to be package protected.) again, you'll need to 
use CVS HEAD or wait for a new nightly.

- robert

View raw message