Or could someone confirm an answer to my own question, is that through the <include> attribute?
e.g. <pattern value="blah"> <include class="org.mycompany.blah.BlahRule"/> </pattern> Paul > -----Original Message----- > From: Paul Smith [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 26 February 2003 9:53 AM > To: Jakarta Commons Users List (E-mail) > Subject: [Digester]: Digester Rules and custom Rules > > > Umm, is there any way to define a custom rule using a > Digester Rules xml, or > will I have to ditch the defining of the rules in XML and > encode it in the > class? > > Looking at the Digester 1.3 dtd, there doesn't seem to be an > element to > define something like: > > <add-custom-rule pattern="Blah" class="org.mycompany.blah.BlahRule" /> > > for the equivalent Java code: > > digester.addRule( "Blah", new org.mycompany.blah.BlahRule()); > > Am I missing something? > > Thanks > _________________________ > Paul Smith > Lawlex Compliance Solutions > phone: +61 3 9278 1511 > email: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
