The JavaDoc for the CallMethodRule constructor, referring to the paramTypes
parameter, states:
"if you wish to use a primitive type, specify the corresonding Java wrapper
class instead, such as java.lang.Boolean.TYPE for a boolean parameter"
However, this is not working for me. The only way it works is if my method
actually has java.lang.Boolean, which is not what I want.
Is there something I might be doing wrong?
I'm configuring the Digester using something like this:
digester.addCallMethod("a/b/c", "setMyField", 0,
new String[] {"java.lang.Boolean"});
and my method looks like this:
public void setMyField(boolean value) {
this.value = value;
}
Thanks.
--
Martin Cooper
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>