You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ba...@apache.org on 2003/07/15 00:21:11 UTC
cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang Entities.java
bayard 2003/07/14 15:21:11
Modified: lang/src/java/org/apache/commons/lang Entities.java
Log:
Javadoc fixes and removal of a wildcard import.
Revision Changes Path
1.10 +15 -11 jakarta-commons/lang/src/java/org/apache/commons/lang/Entities.java
Index: Entities.java
===================================================================
RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/Entities.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Entities.java 29 Jun 2003 03:02:29 -0000 1.9
+++ Entities.java 14 Jul 2003 22:21:11 -0000 1.10
@@ -53,7 +53,9 @@
*/
package org.apache.commons.lang;
-import java.util.*;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.TreeMap;
/**
* <p>Provides HTML and XML entity utilities.</p>
@@ -369,17 +371,17 @@
};
/**
- * The set of entities supported by standard XML
+ * <p>The set of entities supported by standard XML.</p>
*/
public static final Entities XML;
/**
- * The set of entities supported by HTML 3.2
+ * <p>The set of entities supported by HTML 3.2.</p>
*/
public static final Entities HTML32;
/**
- * The set of entities supported by HTML 4.0
+ * <p>The set of entities supported by HTML 4.0.</p>
*/
public static final Entities HTML40;
@@ -621,9 +623,10 @@
}
/**
- * Escapes the characters in a <code>String</code>.
- * For example, if you have called addEntity("foo", 0xA1),
- * escape("\u00A1") will return "&foo;"
+ * <p>Escapes the characters in a <code>String</code>.</p>
+ *
+ * <p>For example, if you have called addEntity("foo", 0xA1),
+ * escape("\u00A1") will return "&foo;"</p>
*
* @param str The <code>String</code> to escape.
* @return A new escaped <code>String</code>.
@@ -654,9 +657,10 @@
}
/**
- * Unescapes the entities in a <code>String</code>.
- * For example, if you have called addEntity("foo", 0xA1),
- * unescape("&foo;") will return "\u00A1"
+ * <p>Unescapes the entities in a <code>String</code>.</p>
+ *
+ * <p>For example, if you have called addEntity("foo", 0xA1),
+ * unescape("&foo;") will return "\u00A1"</p>
*
* @param str The <code>String</code> to escape.
* @return A new escaped <code>String</code>.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org