commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Keese <bi...@tech.beacon-it.co.jp>
Subject Re: [digester] Can rules be re-used?
Date Mon, 17 Jan 2005 00:55:31 GMT
Also see #1.3 on the FAQ
http://wiki.apache.org/jakarta-commons/Digester/FAQ


Bill

Wendy Smoak wrote:

> Can rules be re-used or is this likely to cause problems?
>
>      Rule rule = new SetNestedPropertiesRule();
>      rule.setAllowUnknownChildElements( true );
>      digester.addRule( "download/person", rule );
>
>       //adding same rule instance, but with a different pattern
>      digester.addRule( "download/webuser", rule );
>
> I haven't found anything that says one way or the other, but I'll 
> avoid it unless someone knows for sure.
>

---------------------------------------------------------------------
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