You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by oh...@apache.org on 2011/11/26 21:25:54 UTC

svn commit: r1206577 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/resolver/EntityRegistry.java

Author: oheger
Date: Sat Nov 26 20:25:52 2011
New Revision: 1206577

URL: http://svn.apache.org/viewvc?rev=1206577&view=rev
Log:
Java 1.5 compatibility: Javadocs, raw types, etc.

Modified:
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/resolver/EntityRegistry.java

Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/resolver/EntityRegistry.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/resolver/EntityRegistry.java?rev=1206577&r1=1206576&r2=1206577&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/resolver/EntityRegistry.java (original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/resolver/EntityRegistry.java Sat Nov 26 20:25:52 2011
@@ -34,16 +34,16 @@ public interface EntityRegistry
      * Registers the specified URL for the specified public identifier.
      * </p>
      * <p>
-     * This implementation maps <code>PUBLICID</code>'s to URLs (from which
+     * This implementation maps {@code PUBLICID}'s to URLs (from which
      * the resource will be loaded). A common use case for this method is to
      * register local URLs (possibly computed at runtime by a class loader) for
      * DTDs and Schemas. This allows the performance advantage of using a local
-     * version without having to ensure every <code>SYSTEM</code> URI on every
+     * version without having to ensure every {@code SYSTEM} URI on every
      * processed XML document is local. This implementation provides only basic
      * functionality. If more sophisticated features are required, either calling
-     * <code>XMLConfiguration.setDocumentBuilder(DocumentBuilder)<code> to set a custom
-     * <code>DocumentBuilder</code> (which also can be initialized with a
-     * custom <code>EntityResolver</code>) or creating a custom entity resolver
+     * {@code XMLConfiguration.setDocumentBuilder(DocumentBuilder)} to set a custom
+     * {@code DocumentBuilder} (which also can be initialized with a
+     * custom {@code EntityResolver}) or creating a custom entity resolver
      * and registering it with the XMLConfiguration is recommended.
      * </p>
      *
@@ -55,9 +55,9 @@ public interface EntityRegistry
 
     /**
      * Returns a map with the entity IDs that have been registered using the
-     * <code>registerEntityId()</code> method.
+     * {@code registerEntityId()} method.
      *
      * @return a map with the registered entity IDs
      */
-    Map getRegisteredEntities();
+    Map<String, URL> getRegisteredEntities();
 }