Re: [digester] Pass a static value to a CallParam rule?

2021-02-17 Thread Christopher Schultz
All, On 2/16/21 15:31, Christopher Schultz wrote: All, I'd like to invoke a method on the current top-of-the-stack object and pass a static string value to it, like this: digester.push(new MyBean()); digester.addCallMethod("/Foo/Bar", "setAttribute", 2, new Class[] { String.class });

[digester] Pass a static value to a CallParam rule?

2021-02-16 Thread Christopher Schultz
All, I'd like to invoke a method on the current top-of-the-stack object and pass a static string value to it, like this: digester.push(new MyBean()); digester.addCallMethod("/Foo/Bar", "setAttribute", 2, new Class[] { String.class }); digester.addCallParam("/Foo/Bar", 0, "MyStaticString");