You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/06/02 20:57:53 UTC

svn commit: r1130731 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Digester.java

Author: simonetripodi
Date: Thu Jun  2 18:57:53 2011
New Revision: 1130731

URL: http://svn.apache.org/viewvc?rev=1130731&view=rev
Log:
added Stack<List<Rule>> getter accessor

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

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Digester.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Digester.java?rev=1130731&r1=1130730&r2=1130731&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Digester.java (original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Digester.java Thu Jun  2 18:57:53 2011
@@ -522,6 +522,19 @@ public class Digester
     }
 
     /**
+     * Return a Stack whose elements are List objects, each containing a list of
+     * Rule objects as returned from Rules.getMatch().
+     *
+     * @return a Stack whose elements are List objects, each containing a list of
+     *         Rule objects as returned from Rules.getMatch().
+     * @since 3.0
+     */
+    public Stack<List<Rule>> getMatches()
+    {
+        return matches;
+    }
+
+    /**
      * Return the "namespace aware" flag for parsers we create.
      *
      * @return the "namespace aware" flag for parsers we create.