commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1102582 - in /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder: AbstractBackToLinkedRuleBuilder.java RuleProvider.java
Date Fri, 13 May 2011 06:54:52 GMT
Author: simonetripodi
Date: Fri May 13 06:54:52 2011
New Revision: 1102582

URL: http://svn.apache.org/viewvc?rev=1102582&view=rev
Log:
getPattern() method for builder made public, it will be very useful to register rules into
the RuleSet

Modified:
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/AbstractBackToLinkedRuleBuilder.java
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/RuleProvider.java

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/AbstractBackToLinkedRuleBuilder.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/AbstractBackToLinkedRuleBuilder.java?rev=1102582&r1=1102581&r2=1102582&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/AbstractBackToLinkedRuleBuilder.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/AbstractBackToLinkedRuleBuilder.java
Fri May 13 06:54:52 2011
@@ -82,11 +82,9 @@ abstract class AbstractBackToLinkedRuleB
     }
 
     /**
-     * Returns the rule pattern associated to this builder.
-     *
-     * @return The rule pattern associated to this builder
+     * {@inheritDoc}
      */
-    protected final String getKeyPattern()
+    public final String getPattern()
     {
         return keyPattern;
     }

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/RuleProvider.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/RuleProvider.java?rev=1102582&r1=1102581&r2=1102582&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/RuleProvider.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/RuleProvider.java
Fri May 13 06:54:52 2011
@@ -35,6 +35,13 @@ public interface RuleProvider<R extends 
     String getNamespaceURI();
 
     /**
+     * Returns the rule pattern associated to this builder.
+     *
+     * @return The rule pattern associated to this builder
+     */
+    String getPattern();
+
+    /**
      * Provides an instance of {@link Rule}. Must never return null.
      *
      * @return an instance of {@link Rule}.



Mime
View raw message