commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1130731 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Digester.java
Date Thu, 02 Jun 2011 18:57:53 GMT
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.



Mime
View raw message