Author: julien(a)jboss.com
Date: 2007-06-14 20:18:53 -0400 (Thu, 14 Jun 2007)
New Revision: 7432
Modified:
trunk/faces/src/main/org/jboss/portal/faces/el/ClassConstantPublisherBean.java
Log:
document and test what is supported and what is not.
Modified: trunk/faces/src/main/org/jboss/portal/faces/el/ClassConstantPublisherBean.java
===================================================================
---
trunk/faces/src/main/org/jboss/portal/faces/el/ClassConstantPublisherBean.java 2007-06-15
00:07:49 UTC (rev 7431)
+++
trunk/faces/src/main/org/jboss/portal/faces/el/ClassConstantPublisherBean.java 2007-06-15
00:18:53 UTC (rev 7432)
@@ -34,8 +34,15 @@
* public and static. The properties are read only and cannot be modified. It allows to
use
* constant names from expression language rather than the constant values directly.
*
- * The semantics to obtain values from a class are the same defined by the Java Language
Specification.
+ * <ul>
+ * <li>Class objects of type class or interface are supported.</li>
+ * <li>Class inheritence is supported, Class object returned from
<code>Class.getSuperClass()</code> is examined.</li>
+ * <li>Interface implementation is not yet supported, Class objects returned from
<code>Class.getInterfaces()</code> are
+ * not examined.</li>
+ * </ul>
*
+ * todo: implement and test interfaces returned by
<code>Class.getInterfaces()</code>.
+ *
* @author <a href="mailto:julien@jboss.org">Julien Viet</a>
* @version $Revision: 1.1 $
*/
Show replies by date