directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r496081 - /directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/schema/UsageEnum.java
Date Sun, 14 Jan 2007 13:36:52 GMT
Author: elecharny
Date: Sun Jan 14 05:36:52 2007
New Revision: 496081

URL: http://svn.apache.org/viewvc?view=rev&rev=496081
Log:
Added a non static method render()

Modified:
    directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/schema/UsageEnum.java

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/schema/UsageEnum.java
URL: http://svn.apache.org/viewvc/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/schema/UsageEnum.java?view=diff&rev=496081&r1=496080&r2=496081
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/schema/UsageEnum.java
(original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/schema/UsageEnum.java
Sun Jan 14 05:36:52 2007
@@ -131,4 +131,14 @@
             default : return "";
         }
     }
+
+    /**
+     * Get the string representation for UsageEnum, which will be
+     * used by the AttributeType rendering 
+     * @return The rendering stringe
+     */
+    public String render()
+    {
+        return render( this );
+    }
 }



Mime
View raw message