commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul Akolkar <rahul.akol...@gmail.com>
Subject Re: [digester] Need to create custom Rule?
Date Thu, 09 Jun 2005 18:46:52 GMT
On 6/9/05, Simon Kitching <skitching@apache.org> wrote:
> On Wed, 2005-06-08 at 12:53 -0700, Dan Tarkenton wrote:
<snip/>
> > I essentially want to find the child element whose name attribute is
> > theParamDesired -- every time I find this attribute I want to call a
> > setValue(theValueISeek) method on some object. 
<snap/>
> 
> Yes, I believe you do need to create a custom rule.
<snip/>

You can get by without it if you want (at the risk of polluting the
class with a convenience method). Add a method setValue(String,
String) and use CallMethodRule.

-Rahul

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message