commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1063476 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinder.java
Date Tue, 25 Jan 2011 21:42:38 GMT
Author: simonetripodi
Date: Tue Jan 25 21:42:37 2011
New Revision: 1063476

URL: http://svn.apache.org/viewvc?rev=1063476&view=rev
Log:
added the forPattern method

Modified:
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinder.java

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinder.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinder.java?rev=1063476&r1=1063475&r2=1063476&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinder.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinder.java
Tue Jan 25 21:42:37 2011
@@ -17,6 +17,8 @@
  */
 package org.apache.commons.digester3;
 
+import org.apache.commons.digester3.rulesbinder.LinkedRuleBuilder;
+
 /**
  * The Digester EDSL.
  */
@@ -51,4 +53,12 @@ public interface RulesBinder {
      */
     void install(RulesModule rulesModule);
 
+    /**
+     * Allows to associate the given pattern to one or more Digester rules.
+     *
+     * @param pattern The pattern that this rule should match
+     * @return The Digester rules builder
+     */
+    LinkedRuleBuilder forPattern(String pattern);
+
 }



Mime
View raw message