skitching 2005/01/17 16:58:16
Modified: digester/src/java/org/apache/commons/digester RulesBase.java
Log:
Added information about how RulesBase only executes rules associated
with the "best match" pattern.
Revision Changes Path
1.19 +8 -1
jakarta-commons/digester/src/java/org/apache/commons/digester/RulesBase.java
Index: RulesBase.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/RulesBase.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- RulesBase.java 10 May 2004 06:30:06 -0000 1.18
+++ RulesBase.java 18 Jan 2005 00:58:16 -0000 1.19
@@ -40,6 +40,13 @@
* <code><b></code> element, nested inside an
<code><a></code>
* element, no matter how deeply the pair is nested.</li>
* </ul>
+ *
+ * <p>Note that wildcard patterns are ignored if an explicit match can be
found
+ * (and when multiple wildcard patterns match, only the longest, ie most
+ * explicit, pattern is considered a match).</p>
+ *
+ * <p>See the package documentation for package org.apache.commons.digester
+ * for more information.</p>
*/
public class RulesBase implements Rules {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]