directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r357546 - /directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapRegistries.java
Date Sun, 18 Dec 2005 23:17:47 GMT
Author: elecharny
Date: Sun Dec 18 15:17:39 2005
New Revision: 357546

URL: http://svn.apache.org/viewcvs?rev=357546&view=rev
Log:
Added a toString() method

Modified:
    directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapRegistries.java

Modified: directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapRegistries.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapRegistries.java?rev=357546&r1=357545&r2=357546&view=diff
==============================================================================
--- directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapRegistries.java
(original)
+++ directory/apacheds/branches/DN-refactoring/core/src/main/java/org/apache/ldap/server/schema/bootstrap/BootstrapRegistries.java
Sun Dec 18 15:17:39 2005
@@ -479,4 +479,28 @@
 
         return isSuccess;
     }
+
+    public String toString()
+    {
+    	StringBuffer sb = new StringBuffer();
+
+    	sb.append( "Registries : {\n" );
+    	sb.append( "  OidRegistry : \n").append( oidRegistry.toString( "    " ) ).append( '\n'
);
+    	sb.append( "  NormalizerRegistry : \n").append( normalizerRegistry.toString( "    "
) ).append( '\n' );
+    	sb.append( "  ComparatorRegistry : \n").append( comparatorRegistry.toString( "    "
) ).append( '\n' );
+    	sb.append( "  SyntaxCheckerRegistry : \n").append( syntaxCheckerRegistry.toString( "
   " ) ).append( '\n' );
+    	sb.append( "  SyntaxRegistry : \n").append( syntaxRegistry.toString( "    " ) ).append(
'\n' );
+    	sb.append( "  MatchingRuleRegistry : \n").append( matchingRuleRegistry.toString( " 
  " ) ).append( '\n' );
+    	sb.append( "  AttributeTypeRegistry : \n").append( attributeTypeRegistry.toString( "
   " ) ).append( '\n' );
+    	sb.append( "  ObjectClassRegistry : \n").append( objectClassRegistry.toString( "   
" ) ).append( '\n' );
+    	sb.append( "  DitContentRuleRegistry : \n").append( ditContentRuleRegistry.toString(
"    " ) ).append( '\n' );
+    	sb.append( "  DitStructureRuleRegistry : \n").append( ditStructureRuleRegistry.toString(
"    " ) ).append( '\n' );
+    	sb.append( "  MatchingRuleUseRegistry : \n").append( matchingRuleUseRegistry.toString(
"    " ) ).append( '\n' );
+    	sb.append( "  NameFormRegistry : \n").append( nameFormRegistry.toString( "    " ) ).append(
'\n' );
+    	sb.append( "  ObjectFactoryRegistry : \n").append( objectFactoryRegistry.toString( "
   " ) ).append( '\n' );
+    	sb.append( "  StateFactoryRegistry : \n").append( stateFactoryRegistry.toString( " 
  " ) ).append( '\n' );
+        sb.append( '}' );
+    	
+    	return sb.toString();
+    }
 }



Mime
View raw message