Julian13
发贴: 387
|
于 2004-08-27 16:40
according to Digester's JavaDoc, this part of the rule:
jamesfeng2 wrote: <call-method-rule pattern="name" methodname="setName" paramcount="0" /> <call-method-rule pattern="driver" methodname="setDriver" paramcount="0"/> <call-method-rule pattern="url" methodname="setUrl" paramcount="0" /> <call-method-rule pattern="username" methodname="setUsername" paramcount="0"/> <call-method-rule pattern="password" methodname="setPassword" paramcount="0"/>
is the same as
jamesfeng2 wrote: <set-properties-rule />
as long as the name of attribute has the corresponding getter/setter.
BTW, what's the effect for paramcount in call-method-rule?
Julian13 edited on 2004-08-27 16:42
who am i?
|