Author: simonetripodi
Date: Sat May 14 17:10:43 2011
New Revision: 1103162

URL: http://svn.apache.org/viewvc?rev=1103162&view=rev
Log:
added the registerAll() method to register DTD URLs from a Map

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=1103162&r1=1103161&r2=1103162&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
 Sat May 14 17:10:43 2011
@@ -1844,6 +1844,18 @@ public class Digester
     }
 
     /**
+     * Convenience method that registers DTD URLs for the specified public 
identifiers.
+     *
+     * @param entityValidator The URLs of entityValidator that have been 
registered, keyed by the public
+     *                        identifier that corresponds.
+     * @since 3.0
+     */
+    public void registerAll( Map<String, URL> entityValidator )
+    {
+        entityValidator.putAll( entityValidator );
+    }
+
+    /**
      * <p>
      * <code>List</code> of <code>InputSource</code> instances created by a 
<code>createInputSourceFromURL()</code>
      * method call. These represent open input streams that need to be closed 
to avoid resource leaks, as well as


Reply via email to