directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r547703 - in /directory/studio/trunk/studio-apacheds-schemaeditor: ./ META-INF/ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/directory/ src/main/java/org/apache/directory/studio/ src/ma...
Date Fri, 15 Jun 2007 15:03:51 GMT
Author: pamarcelot
Date: Fri Jun 15 08:03:49 2007
New Revision: 547703

URL: http://svn.apache.org/viewvc?view=rev&rev=547703
Log:
Initial import of the Apache Directory Studio Apache DS Schema Editor Plugin.

Added:
    directory/studio/trunk/studio-apacheds-schemaeditor/
    directory/studio/trunk/studio-apacheds-schemaeditor/.classpath
    directory/studio/trunk/studio-apacheds-schemaeditor/.project
    directory/studio/trunk/studio-apacheds-schemaeditor/META-INF/
    directory/studio/trunk/studio-apacheds-schemaeditor/META-INF/LICENSE.txt   (with props)
    directory/studio/trunk/studio-apacheds-schemaeditor/META-INF/MANIFEST.MF
    directory/studio/trunk/studio-apacheds-schemaeditor/META-INF/NOTICE.txt
    directory/studio/trunk/studio-apacheds-schemaeditor/build.properties
    directory/studio/trunk/studio-apacheds-schemaeditor/build.xml
    directory/studio/trunk/studio-apacheds-schemaeditor/ivy.xml
    directory/studio/trunk/studio-apacheds-schemaeditor/plugin.properties
    directory/studio/trunk/studio-apacheds-schemaeditor/plugin.xml
    directory/studio/trunk/studio-apacheds-schemaeditor/src/
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/Main.java
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/SchemaImporter.java
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/AttributeTypeImpl.java
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/MatchingRuleImpl.java
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/ObjectClassImpl.java
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/Schema.java
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/SchemaImpl.java
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/SyntaxImpl.java
    directory/studio/trunk/studio-apacheds-schemaeditor/src/test/
    directory/studio/trunk/studio-apacheds-schemaeditor/src/test/java/

Added: directory/studio/trunk/studio-apacheds-schemaeditor/.classpath
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/.classpath?view=auto&rev=547703
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/.classpath (added)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/.classpath Fri Jun 15 08:03:49 2007
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src/main/java"/>
+	<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry kind="output" path="target/classes"/>
+</classpath>

Added: directory/studio/trunk/studio-apacheds-schemaeditor/.project
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/.project?view=auto&rev=547703
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/.project (added)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/.project Fri Jun 15 08:03:49 2007
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>studio-apacheds-schemaeditor</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.ManifestBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.SchemaBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.pde.PluginNature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>

Added: directory/studio/trunk/studio-apacheds-schemaeditor/META-INF/LICENSE.txt
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/META-INF/LICENSE.txt?view=auto&rev=547703
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/META-INF/LICENSE.txt (added)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/META-INF/LICENSE.txt Fri Jun 15 08:03:49 2007
@@ -0,0 +1,202 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.

Propchange: directory/studio/trunk/studio-apacheds-schemaeditor/META-INF/LICENSE.txt
------------------------------------------------------------------------------
    svn:executable = *

Added: directory/studio/trunk/studio-apacheds-schemaeditor/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/META-INF/MANIFEST.MF?view=auto&rev=547703
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/META-INF/MANIFEST.MF (added)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/META-INF/MANIFEST.MF Fri Jun 15 08:03:49 2007
@@ -0,0 +1,12 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Apache Directory Studio Apache DS Schema Editor Plug-in
+Bundle-SymbolicName: org.apache.directory.studio.apacheds.schemaeditor;singleton:=true
+Bundle-Version: 0.0.0.development
+Bundle-Activator: org.apache.directory.studio.apacheds.schemaeditor.Activator
+Bundle-Vendor: Apache Software Foundation
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.ui,
+ org.apache.directory.studio.jars
+Eclipse-LazyStart: true
+Bundle-ClassPath: .

Added: directory/studio/trunk/studio-apacheds-schemaeditor/META-INF/NOTICE.txt
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/META-INF/NOTICE.txt?view=auto&rev=547703
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/META-INF/NOTICE.txt (added)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/META-INF/NOTICE.txt Fri Jun 15 08:03:49 2007
@@ -0,0 +1 @@
+Apache Directory Studio
Copyright 2007 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
\ No newline at end of file

Added: directory/studio/trunk/studio-apacheds-schemaeditor/build.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/build.properties?view=auto&rev=547703
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/build.properties (added)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/build.properties Fri Jun 15 08:03:49 2007
@@ -0,0 +1,9 @@
+source.. = src/main/java/,\
+           src/main/resources,\
+           src/test/java/
+output.. = bin/
+bin.includes = plugin.xml,\
+               META-INF/,\
+               .,\
+               resources/,\
+               lib/

Added: directory/studio/trunk/studio-apacheds-schemaeditor/build.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/build.xml?view=auto&rev=547703
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/build.xml (added)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/build.xml Fri Jun 15 08:03:49 2007
@@ -0,0 +1,44 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<project default="plugin">
+	<import file="../studio-build/build.xml"/>
+	
+	
+	<!-- RETRIEVE-STUDIO-JAR-DEPENDENCIES TASK -->
+	<target name="retrieve-studio-jar-dependencies" description="Compiles the dependencies of the project" >
+		<ant dir="../studio-jars" target="retrieve-dependencies" inheritall="false" />
+	</target>
+	
+		
+	<!-- BUILD-CLASSPATH TASK -->
+	<target name="build-classpath" depends="retrieve-studio-jar-dependencies" description="Computes the classpath" >
+		<echo>Building classpath for ${project.name} (${project.id}) version ${project.version}</echo>
+		<path id="classpath">
+			<!-- Project dependencies -->
+			<fileset dir="${lib.dir}" />
+			<!-- Eclipse dependencies -->
+			<fileset dir="../dependencies/eclipse/3.2">
+				<include name="**/*.jar"/>
+			</fileset>
+			<!-- Plugin dependencies -->
+			<fileset dir="../studio-jars/lib/" />
+		</path>
+	</target>
+	
+</project>

Added: directory/studio/trunk/studio-apacheds-schemaeditor/ivy.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/ivy.xml?view=auto&rev=547703
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/ivy.xml (added)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/ivy.xml Fri Jun 15 08:03:49 2007
@@ -0,0 +1,21 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<ivy-module version="1.0">
+	<info organisation="org.apache.directory.studio" module="studio-apacheds-schemaeditor"/>
+</ivy-module>
\ No newline at end of file

Added: directory/studio/trunk/studio-apacheds-schemaeditor/plugin.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/plugin.properties?view=auto&rev=547703
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/plugin.properties (added)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/plugin.properties Fri Jun 15 08:03:49 2007
@@ -0,0 +1,19 @@
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+project.name=Apache Directory Studio Apache DS Schema Editor Plug-in
+project.version=0.8.0
+project.id=org.apache.directory.studio.apacheds.schemaeditor

Added: directory/studio/trunk/studio-apacheds-schemaeditor/plugin.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/plugin.xml?view=auto&rev=547703
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/plugin.xml (added)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/plugin.xml Fri Jun 15 08:03:49 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<plugin>
+</plugin>

Added: directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/Main.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/Main.java?view=auto&rev=547703
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/Main.java (added)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/Main.java Fri Jun 15 08:03:49 2007
@@ -0,0 +1,27 @@
+package org.apache.directory.studio;
+
+import javax.naming.NamingException;
+
+public class Main 
+{
+
+	
+	public static void main(String[] args)
+	{
+		try
+		{
+			SchemaImporter schemaImporter = new SchemaImporter();
+			schemaImporter.getServerSchema();
+			
+			
+		}
+		catch (NamingException e)
+		{
+			// TODO Auto-generated catch block
+			e.printStackTrace();
+		}		
+	}
+	
+	
+
+}

Added: directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/SchemaImporter.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/SchemaImporter.java?view=auto&rev=547703
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/SchemaImporter.java (added)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/SchemaImporter.java Fri Jun 15 08:03:49 2007
@@ -0,0 +1,823 @@
+package org.apache.directory.studio;
+
+
+import java.util.ArrayList;
+import java.util.Hashtable;
+import java.util.List;
+
+import javax.naming.Context;
+import javax.naming.NamingEnumeration;
+import javax.naming.NamingException;
+import javax.naming.directory.Attribute;
+import javax.naming.directory.DirContext;
+import javax.naming.directory.InitialDirContext;
+import javax.naming.directory.SearchControls;
+import javax.naming.directory.SearchResult;
+
+import org.apache.directory.shared.ldap.schema.AttributeType;
+import org.apache.directory.shared.ldap.schema.MatchingRule;
+import org.apache.directory.shared.ldap.schema.ObjectClass;
+import org.apache.directory.shared.ldap.schema.ObjectClassTypeEnum;
+import org.apache.directory.shared.ldap.schema.Syntax;
+import org.apache.directory.shared.ldap.schema.UsageEnum;
+import org.apache.directory.studio.model.AttributeTypeImpl;
+import org.apache.directory.studio.model.MatchingRuleImpl;
+import org.apache.directory.studio.model.ObjectClassImpl;
+import org.apache.directory.studio.model.Schema;
+import org.apache.directory.studio.model.SchemaImpl;
+import org.apache.directory.studio.model.SyntaxImpl;
+
+
+/**
+ * This class is used to import the schema from Apache Directory Server.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public class SchemaImporter
+{
+    /** The Schema DN */
+    public static final String SCHEMA_DN = "ou=schema";
+
+    /** The name of the metaAttributeType object class */
+    private static final String META_ATTRIBUTE_TYPE = "metaAttributeType";
+    /** The name of the metaObjectClass object class */
+    private static final String META_OBJECT_CLASS = "metaObjectclass";
+    /** The name of the metaMatchingRule object class */
+    private static final String META_MATCHING_RULE = "metaMatchingRule";
+    /** The name of the metaSyntax object class */
+    private static final String META_SYNTAX = "metaSyntax";
+
+    /**
+     * This enum represents the different types of nodes that can be found while
+     * reading the schema from the DIT.
+     */
+    private enum SchemaNodeTypes
+    {
+        ATTRIBUTE_TYPE, OBJECT_CLASS, MATCHING_RULE, SYNTAX, UNKNOWN
+    }
+
+
+    /**
+     * Creates the Jndi Context.
+     * 
+     * @param host
+     * 		the server host
+     * @param port
+     * 		the server port
+     * @param base
+     * 		the Active Directory Base
+     * @param principal
+     * 		the Active Directory principal
+     * @param credentials
+     * 		the Active Directory credentials
+     * @return
+     * 		the jndi context
+     * @throws NamingException
+     */
+    private DirContext createContext( String host, String port, String base, String principal, String credentials )
+        throws NamingException
+    {
+        Hashtable<String, String> env = new Hashtable<String, String>();
+
+        env.put( Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory" );
+        env.put( Context.PROVIDER_URL, "ldap://" + host + ":" + port + "/" + base );
+        env.put( Context.SECURITY_PRINCIPAL, principal );
+        env.put( Context.SECURITY_CREDENTIALS, credentials );
+
+        return new InitialDirContext( env );
+    }
+
+
+    /**
+     * Gets the Schema of the given Apache Directory Server.
+     * 
+     * @param context
+     * 		the context
+     * @throws NamingException 
+     */
+    public void getServerSchema() throws NamingException
+    {
+        DirContext context = createContext( "localhost", "10389", SCHEMA_DN, "uid=admin,ou=system", "secret" );
+
+        // Looking for all the defined schemas
+        SearchControls constraintSearch = new SearchControls();
+        constraintSearch.setSearchScope( SearchControls.ONELEVEL_SCOPE );
+        NamingEnumeration<SearchResult> answer = context.search( "", "(objectclass=*)", constraintSearch );
+        while ( answer.hasMoreElements() )
+        {
+            SearchResult searchResult = ( SearchResult ) answer.nextElement();
+
+            // Getting the 'cn' Attribute
+            Attribute cnAttribute = searchResult.getAttributes().get( "cn" );
+            // Looping on the values
+            NamingEnumeration<?> ne = cnAttribute.getAll();
+            while ( ne.hasMoreElements() )
+            {
+                String value = ( String ) ne.nextElement();
+                getSchema( context, value );
+            }
+        }
+    }
+
+
+    private Schema getSchema( DirContext context, String name ) throws NamingException
+    {
+        // Creating the schema
+        Schema schema = new SchemaImpl( name );
+
+        // Looking for the nodes of the schema
+        SearchControls constraintSearch = new SearchControls();
+        constraintSearch.setSearchScope( SearchControls.SUBTREE_SCOPE );
+        NamingEnumeration<SearchResult> answer = context.search( "cn=" + name, "(objectclass=*)", constraintSearch );
+        while ( answer.hasMoreElements() )
+        {
+            SearchResult searchResult = ( SearchResult ) answer.nextElement();
+            switch ( getNodeType( searchResult ) )
+            {
+                case ATTRIBUTE_TYPE:
+                    AttributeType at = createAttributeType( searchResult );
+                    at.setSchema( name );
+                    schema.addAttributeType( at );
+                    System.err.println( at );
+                    break;
+                case OBJECT_CLASS:
+                    ObjectClass oc = createObjectClass( searchResult );
+                    oc.setSchema( name );
+                    schema.addObjectClass( oc );
+                    System.err.println( oc );
+                    break;
+                case MATCHING_RULE:
+                    MatchingRule mr = createMatchingRule( searchResult );
+                    mr.setSchema( name );
+                    schema.addMatchingRule( mr );
+                    System.err.println( mr );
+                    break;
+                case SYNTAX:
+                    Syntax syntax = createSyntax( searchResult );
+                    syntax.setSchema( name );
+                    schema.addSyntax( syntax );
+                    System.err.println( syntax );
+                    break;
+
+                default:
+                    break;
+            }
+        }
+
+        return schema;
+    }
+
+
+    /**
+     * Gets the Type of node of the given SearchResult.
+     * 
+     * @param sr
+     * 		the SearchResult to be identified
+     * @return
+     * 		the Type of node
+     * @throws NamingException
+     * 		if an error occurrs when reading the SearchResult
+     */
+    private SchemaNodeTypes getNodeType( SearchResult sr ) throws NamingException
+    {
+        // Getting the 'ObjectClass' Attribute
+        Attribute objectClassAttribute = sr.getAttributes().get( "objectClass" );
+
+        // Looping on the values
+        NamingEnumeration<?> ne = objectClassAttribute.getAll();
+        while ( ne.hasMore() )
+        {
+            String value = ( String ) ne.next();
+            if ( META_ATTRIBUTE_TYPE.equals( value ) )
+            {
+                return SchemaNodeTypes.ATTRIBUTE_TYPE;
+            }
+            else if ( META_OBJECT_CLASS.equals( value ) )
+            {
+                return SchemaNodeTypes.OBJECT_CLASS;
+            }
+            else if ( META_MATCHING_RULE.equals( value ) )
+            {
+                return SchemaNodeTypes.MATCHING_RULE;
+            }
+            else if ( META_SYNTAX.equals( value ) )
+            {
+                return SchemaNodeTypes.SYNTAX;
+            }
+        }
+
+        return SchemaNodeTypes.UNKNOWN;
+    }
+
+
+    /**
+     * Create the AttributeType associated with the given SearchResult.
+     * 
+     * @param sr
+     * 		the SearchResult
+     * @return
+     * 		the AttributeType associated with the SearchResult, or null if no 
+     * AttributeType could be created
+     * @throws NamingException 
+     */
+    private AttributeType createAttributeType( SearchResult sr ) throws NamingException
+    {
+        AttributeTypeImpl at = new AttributeTypeImpl( getOid( sr ) );
+        at.setNames( getNames( sr ) );
+        at.setDescription( getDescription( sr ) );
+        at.setObsolete( isObsolete( sr ) );
+        at.setSuperiorName( getSuperior( sr ) );
+        at.setUsage( getUsage( sr ) );
+        at.setSyntaxOid( getSyntax( sr ) );
+        at.setLength( getSyntaxLength( sr ) );
+        at.setCollective( isCollective( sr ) );
+        at.setSingleValue( isSingleValue( sr ) );
+        at.setCanUserModify( isCanUserModify( sr ) );
+        at.setEqualityName( getEquality( sr ) );
+        at.setOrderingName( getOrdering( sr ) );
+        at.setSubstrName( getSubstr( sr ) );
+        return at;
+    }
+
+
+    /**
+     * Create the ObjectClass associated with the given SearchResult.
+     * 
+     * @param sr
+     *      the SearchResult
+     * @return
+     *      the ObjectClass associated with the SearchResult, or null if no 
+     * ObjectClass could be created
+     * @throws NamingException 
+     */
+    private ObjectClass createObjectClass( SearchResult sr ) throws NamingException
+    {
+        ObjectClassImpl oc = new ObjectClassImpl( getOid( sr ) );
+        oc.setNames( getNames( sr ) );
+        oc.setDescription( getDescription( sr ) );
+        oc.setObsolete( isObsolete( sr ) );
+        oc.setSuperClassesNames( getSuperiors( sr ) );
+        oc.setType( getType( sr ) );
+        oc.setMayNamesList( getMay( sr ) );
+        oc.setMustNamesList( getMust( sr ) );
+        return oc;
+    }
+
+
+    /**
+     * Create the MatchingRule associated with the given SearchResult.
+     * 
+     * @param sr
+     *      the SearchResult
+     * @return
+     *      the MatchingRule associated with the SearchResult, or null if no 
+     * ObjectClass could be created
+     * @throws NamingException 
+     */
+    private MatchingRule createMatchingRule( SearchResult sr ) throws NamingException
+    {
+        MatchingRuleImpl mr = new MatchingRuleImpl( getOid( sr ) );
+        mr.setNames( getNames( sr ) );
+        mr.setDescription( getDescription( sr ) );
+        mr.setObsolete( isObsolete( sr ) );
+        mr.setSyntaxtOid( getSyntax( sr ) );
+        return mr;
+    }
+
+
+    /**
+     * Create the MatchingRule associated with the given SearchResult.
+     * 
+     * @param sr
+     *      the SearchResult
+     * @return
+     *      the MatchingRule associated with the SearchResult, or null if no 
+     * ObjectClass could be created
+     * @throws NamingException 
+     */
+    private Syntax createSyntax( SearchResult sr ) throws NamingException
+    {
+        SyntaxImpl syntax = new SyntaxImpl( getOid( sr ) );
+        syntax.setNames( getNames( sr ) );
+        syntax.setDescription( getDescription( sr ) );
+        syntax.setObsolete( isObsolete( sr ) );
+        syntax.setHumanReadible( isHumanReadable( sr ) );
+        return syntax;
+    }
+
+
+    /**
+     * Gets the oid of the schema object contained a SearchResult.
+     *
+     * @param sr
+     *      the SearchResult
+     * @return
+     *      the oid of the schema object, or nullif no oid was found
+     * @throws NamingException
+     *      if an error occurrs when searching in the SearchResult
+     */
+    private String getOid( SearchResult sr ) throws NamingException
+    {
+        Attribute at = sr.getAttributes().get( "m-oid" );
+        if ( at == null )
+        {
+            return null;
+        }
+        else
+        {
+            return ( String ) at.get();
+        }
+    }
+
+
+    /**
+     * Gets the names of the schema object contained a SearchResult.
+     *
+     * @param sr
+     *      the SearchResult
+     * @return
+     *      the names of the schema object, or an empty array if no name was found
+     * @throws NamingException
+     *      if an error occurrs when searching in the SearchResult
+     */
+    private String[] getNames( SearchResult sr ) throws NamingException
+    {
+        List<String> names = new ArrayList<String>();
+
+        Attribute at = sr.getAttributes().get( "m-name" );
+        if ( at != null )
+        {
+            NamingEnumeration<?> ne = at.getAll();
+            while ( ne.hasMore() )
+            {
+                names.add( ( String ) ne.next() );
+            }
+        }
+
+        return names.toArray( new String[0] );
+    }
+
+
+    /**
+     * Gets the description of the schema object contained a SearchResult.
+     *
+     * @param sr
+     *      the SearchResult
+     * @return
+     *      the description of the schema object, or null if no description was found
+     * @throws NamingException
+     *      if an error occurrs when searching in the SearchResult
+     */
+    private String getDescription( SearchResult sr ) throws NamingException
+    {
+        Attribute at = sr.getAttributes().get( "m-description" );
+
+        if ( at == null )
+        {
+            return null;
+        }
+        else
+        {
+            return ( String ) at.get();
+        }
+    }
+
+
+    /**
+     * Gets the superior of the attribute type contained a SearchResult.
+     *
+     * @param sr
+     *      the SearchResult
+     * @return
+     *      the superior of the attribute type, or null if no superior was found
+     * @throws NamingException
+     *      if an error occurrs when searching in the SearchResult
+     */
+    private String getSuperior( SearchResult sr ) throws NamingException
+    {
+        Attribute at = sr.getAttributes().get( "m-supAttributeType" );
+
+        if ( at == null )
+        {
+            return null;
+        }
+        else
+        {
+            return ( String ) at.get();
+        }
+    }
+
+
+    /**
+     * Gets the usage of the attribute type contained a SearchResult.
+     *
+     * @param sr
+     *      the SearchResult
+     * @return
+     *      the usage of the attribute type
+     * @throws NamingException
+     *      if an error occurrs when searching in the SearchResult
+     */
+    private UsageEnum getUsage( SearchResult sr ) throws NamingException
+    {
+        Attribute at = sr.getAttributes().get( "m-usage" );
+
+        if ( at == null )
+        {
+            return UsageEnum.USER_APPLICATIONS;
+        }
+        else
+        {
+            try
+            {
+                return Enum.valueOf( UsageEnum.class, ( String ) at.get() );
+            }
+            catch ( IllegalArgumentException e )
+            {
+                return UsageEnum.USER_APPLICATIONS;
+            }
+            catch ( NullPointerException e )
+            {
+                return UsageEnum.USER_APPLICATIONS;
+            }
+        }
+    }
+
+
+    /**
+     * Gets the syntax of the schema object contained a SearchResult.
+     *
+     * @param sr
+     *      the SearchResult
+     * @return
+     *      the syntax of the schema object, or null if no syntax was found
+     * @throws NamingException
+     *      if an error occurrs when searching in the SearchResult
+     */
+    private String getSyntax( SearchResult sr ) throws NamingException
+    {
+        Attribute at = sr.getAttributes().get( "m-syntax" );
+
+        if ( at == null )
+        {
+            return null;
+        }
+        else
+        {
+            return ( String ) at.get();
+        }
+    }
+
+
+    /**
+     * Gets the syntax length of the attribute type contained a SearchResult.
+     *
+     * @param sr
+     *      the SearchResult
+     * @return
+     *      the syntax length of the attribute type, or -1 if no syntax length was found
+     * @throws NamingException
+     *      if an error occurrs when searching in the SearchResult
+     */
+    private int getSyntaxLength( SearchResult sr ) throws NamingException
+    {
+        Attribute at = sr.getAttributes().get( "m-length" );
+
+        if ( at == null )
+        {
+            return -1;
+        }
+        else
+        {
+            try
+            {
+                return Integer.parseInt( ( String ) at.get() );
+            }
+            catch ( NumberFormatException e )
+            {
+                return -1;
+            }
+        }
+    }
+
+
+    /**
+     * Gets whether or not the schema object contained a SearchResult is obsolete.
+     *
+     * @param sr
+     *      the SearchResult
+     * @return
+     *      true if the schema object is obsolete, false if not
+     * @throws NamingException
+     *      if an error occurrs when searching in the SearchResult
+     */
+    private boolean isObsolete( SearchResult sr ) throws NamingException
+    {
+        Attribute at = sr.getAttributes().get( "m-obsolete" );
+
+        if ( at == null )
+        {
+            return false;
+        }
+        else
+        {
+            return Boolean.parseBoolean( ( String ) at.get() );
+        }
+    }
+
+
+    /**
+     * Gets whether or not the attribute type contained a SearchResult is collective.
+     *
+     * @param sr
+     *      the SearchResult
+     * @return
+     *      true if the attribute type is collective, false if not
+     * @throws NamingException
+     *      if an error occurrs when searching in the SearchResult
+     */
+    private boolean isCollective( SearchResult sr ) throws NamingException
+    {
+        Attribute at = sr.getAttributes().get( "m-collective" );
+
+        if ( at == null )
+        {
+            return false;
+        }
+        else
+        {
+            return Boolean.parseBoolean( ( String ) at.get() );
+        }
+    }
+
+
+    /**
+     * Gets whether or not the attribute type contained a SearchResult is single value.
+     *
+     * @param sr
+     *      the SearchResult
+     * @return
+     *      true if the attribute type is single value, false if not
+     * @throws NamingException
+     *      if an error occurrs when searching in the SearchResult
+     */
+    private boolean isSingleValue( SearchResult sr ) throws NamingException
+    {
+        Attribute at = sr.getAttributes().get( "m-singleValue" );
+
+        if ( at == null )
+        {
+            return false;
+        }
+        else
+        {
+            return Boolean.parseBoolean( ( String ) at.get() );
+        }
+    }
+
+
+    /**
+     * Gets whether or not the attribute type contained a SearchResult is single value.
+     *
+     * @param sr
+     *      the SearchResult
+     * @return
+     *      true if the attribute type is single value, false if not
+     * @throws NamingException
+     *      if an error occurrs when searching in the SearchResult
+     */
+    private boolean isCanUserModify( SearchResult sr ) throws NamingException
+    {
+        Attribute at = sr.getAttributes().get( "m-noUserModification" );
+
+        if ( at == null )
+        {
+            return true;
+        }
+        else
+        {
+            return !Boolean.parseBoolean( ( String ) at.get() );
+        }
+    }
+
+
+    /**
+     * Gets the name of the equality matching rule of the attribute type contained a SearchResult.
+     *
+     * @param sr
+     *      the SearchResult
+     * @return
+     *      the name of the equality matching rule of the attribute type, or null if no equality matching rule was found
+     * @throws NamingException
+     *      if an error occurrs when searching in the SearchResult
+     */
+    private String getEquality( SearchResult sr ) throws NamingException
+    {
+        Attribute at = sr.getAttributes().get( "m-equality" );
+
+        if ( at == null )
+        {
+            return null;
+        }
+        else
+        {
+            return ( String ) at.get();
+        }
+    }
+
+
+    /**
+     * Gets the name of the ordering matching rule of the attribute type contained a SearchResult.
+     *
+     * @param sr
+     *      the SearchResult
+     * @return
+     *      the name of the ordering matching rule of the attribute type, or null if no ordering matching rule was found
+     * @throws NamingException
+     *      if an error occurrs when searching in the SearchResult
+     */
+    private String getOrdering( SearchResult sr ) throws NamingException
+    {
+        Attribute at = sr.getAttributes().get( "m-ordering" );
+
+        if ( at == null )
+        {
+            return null;
+        }
+        else
+        {
+            return ( String ) at.get();
+        }
+    }
+
+
+    /**
+     * Gets the name of the substr matching rule of the attribute type contained a SearchResult.
+     *
+     * @param sr
+     *      the SearchResult
+     * @return
+     *      the name of the substr matching rule of the attribute type, or null if no substr matching rule was found
+     * @throws NamingException
+     *      if an error occurrs when searching in the SearchResult
+     */
+    private String getSubstr( SearchResult sr ) throws NamingException
+    {
+        Attribute at = sr.getAttributes().get( "m-substr" );
+
+        if ( at == null )
+        {
+            return null;
+        }
+        else
+        {
+            return ( String ) at.get();
+        }
+    }
+
+
+    /**
+     * Gets the superiors of the object class contained a SearchResult.
+     *
+     * @param sr
+     *      the SearchResult
+     * @return
+     *      the superiors of the attribute type, or an empty array if no superior was found
+     * @throws NamingException
+     *      if an error occurrs when searching in the SearchResult
+     */
+    private String[] getSuperiors( SearchResult sr ) throws NamingException
+    {
+        List<String> names = new ArrayList<String>();
+
+        Attribute at = sr.getAttributes().get( "m-supObjectClass" );
+        if ( at != null )
+        {
+            NamingEnumeration<?> ne = at.getAll();
+            while ( ne.hasMore() )
+            {
+                names.add( ( String ) ne.next() );
+            }
+        }
+
+        return names.toArray( new String[0] );
+    }
+
+
+    /**
+     * Gets the type of the object class contained a SearchResult.
+     *
+     * @param sr
+     *      the SearchResult
+     * @return
+     *      the type of the object class
+     * @throws NamingException
+     *      if an error occurrs when searching in the SearchResult
+     */
+    private ObjectClassTypeEnum getType( SearchResult sr ) throws NamingException
+    {
+        Attribute at = sr.getAttributes().get( "m-typeObjectClass" );
+
+        if ( at == null )
+        {
+            return ObjectClassTypeEnum.STRUCTURAL;
+        }
+        else
+        {
+            try
+            {
+                return Enum.valueOf( ObjectClassTypeEnum.class, ( String ) at.get() );
+            }
+            catch ( IllegalArgumentException e )
+            {
+                return ObjectClassTypeEnum.STRUCTURAL;
+            }
+            catch ( NullPointerException e )
+            {
+                return ObjectClassTypeEnum.STRUCTURAL;
+            }
+        }
+    }
+
+
+    /**
+     * Gets the optional attribute types of the object class contained a SearchResult.
+     *
+     * @param sr
+     *      the SearchResult
+     * @return
+     *      the optional attribute types of the attribute type, or an empty array if no optional attribute type was found
+     * @throws NamingException
+     *      if an error occurrs when searching in the SearchResult
+     */
+    private String[] getMay( SearchResult sr ) throws NamingException
+    {
+        List<String> names = new ArrayList<String>();
+
+        Attribute at = sr.getAttributes().get( "m-may" );
+        if ( at != null )
+        {
+            NamingEnumeration<?> ne = at.getAll();
+            while ( ne.hasMore() )
+            {
+                names.add( ( String ) ne.next() );
+            }
+        }
+
+        return names.toArray( new String[0] );
+    }
+
+
+    /**
+     * Gets the mandatory attribute types of the object class contained a SearchResult.
+     *
+     * @param sr
+     *      the SearchResult
+     * @return
+     *      the mandatory attribute types of the attribute type, or an empty array if no mandatory attribute type was found
+     * @throws NamingException
+     *      if an error occurrs when searching in the SearchResult
+     */
+    private String[] getMust( SearchResult sr ) throws NamingException
+    {
+        List<String> names = new ArrayList<String>();
+
+        Attribute at = sr.getAttributes().get( "m-must" );
+        if ( at != null )
+        {
+            NamingEnumeration<?> ne = at.getAll();
+            while ( ne.hasMore() )
+            {
+                names.add( ( String ) ne.next() );
+            }
+        }
+
+        return names.toArray( new String[0] );
+    }
+
+
+    /**
+     * Gets whether or not the schema object contained a SearchResult is obsolete.
+     *
+     * @param sr
+     *      the SearchResult
+     * @return
+     *      true if the schema object is obsolete, false if not
+     * @throws NamingException
+     *      if an error occurrs when searching in the SearchResult
+     */
+    private boolean isHumanReadable( SearchResult sr ) throws NamingException
+    {
+        Attribute at = sr.getAttributes().get( "x-humanReadable" );
+
+        if ( at == null )
+        {
+            return false;
+        }
+        else
+        {
+            return Boolean.parseBoolean( ( String ) at.get() );
+        }
+    }
+}

Added: directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/AttributeTypeImpl.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/AttributeTypeImpl.java?view=auto&rev=547703
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/AttributeTypeImpl.java (added)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/AttributeTypeImpl.java Fri Jun 15 08:03:49 2007
@@ -0,0 +1,198 @@
+package org.apache.directory.studio.model;
+
+
+import javax.naming.NamingException;
+
+import org.apache.directory.shared.ldap.schema.AbstractAttributeType;
+import org.apache.directory.shared.ldap.schema.AttributeType;
+import org.apache.directory.shared.ldap.schema.MatchingRule;
+import org.apache.directory.shared.ldap.schema.MutableSchemaObject;
+import org.apache.directory.shared.ldap.schema.Syntax;
+import org.apache.directory.shared.ldap.schema.UsageEnum;
+
+
+public class AttributeTypeImpl extends AbstractAttributeType implements MutableSchemaObject
+{
+    /** The name of the superior */
+    private String superiorName;
+    
+    /** The OID of the Syntax */
+    private String syntaxOid;
+    
+    /** The name of the Equality MatchingRule */
+    private String equalityName;
+    
+    /** The name of the Ordering MatchingRule */
+    private String orderingName;
+    
+    /** The name of the Substr MatchingRule */
+    private String substrName;
+
+
+    public String getEqualityName()
+    {
+        return equalityName;
+    }
+
+
+    public void setEqualityName( String equalityName )
+    {
+        this.equalityName = equalityName;
+    }
+
+
+    public String getOrderingName()
+    {
+        return orderingName;
+    }
+
+
+    public void setOrderingName( String orderingName )
+    {
+        this.orderingName = orderingName;
+    }
+
+
+    public String getSubstrName()
+    {
+        return substrName;
+    }
+
+
+    public void setSubstrName( String substrName )
+    {
+        this.substrName = substrName;
+    }
+
+
+    public String getSuperiorName()
+    {
+        return superiorName;
+    }
+
+
+    public void setSuperiorName( String superiorName )
+    {
+        this.superiorName = superiorName;
+    }
+
+
+    public String getSyntaxOid()
+    {
+        return syntaxOid;
+    }
+
+
+    public void setSyntaxOid( String syntaxOid )
+    {
+        this.syntaxOid = syntaxOid;
+    }
+
+
+    public AttributeTypeImpl( String oid )
+    {
+        super( oid );
+        
+    }
+
+    /**
+     * 
+     */
+    private static final long serialVersionUID = 1L;
+
+
+    public MatchingRule getEquality() throws NamingException
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+
+    public MatchingRule getOrdering() throws NamingException
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+
+    public MatchingRule getSubstr() throws NamingException
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+
+    public AttributeType getSuperior() throws NamingException
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+
+    public Syntax getSyntax() throws NamingException
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+
+    @Override
+    public void setDescription( String description )
+    {
+        super.setDescription( description );
+    }
+
+
+    @Override
+    public void setNames( String[] names )
+    {
+        super.setNames( names );
+    }
+
+
+    @Override
+    public void setObsolete( boolean obsolete )
+    {
+        super.setObsolete( obsolete );
+    }
+
+
+    @Override
+    public void setCanUserModify( boolean canUserModify )
+    {
+        // TODO Auto-generated method stub
+        super.setCanUserModify( canUserModify );
+    }
+
+
+    @Override
+    public void setCollective( boolean collective )
+    {
+        // TODO Auto-generated method stub
+        super.setCollective( collective );
+    }
+
+
+    @Override
+    public void setLength( int length )
+    {
+        // TODO Auto-generated method stub
+        super.setLength( length );
+    }
+
+
+    @Override
+    public void setSingleValue( boolean singleValue )
+    {
+        // TODO Auto-generated method stub
+        super.setSingleValue( singleValue );
+    }
+
+
+    @Override
+    public void setUsage( UsageEnum usage )
+    {
+        // TODO Auto-generated method stub
+        super.setUsage( usage );
+    }
+}

Added: directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/MatchingRuleImpl.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/MatchingRuleImpl.java?view=auto&rev=547703
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/MatchingRuleImpl.java (added)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/MatchingRuleImpl.java Fri Jun 15 08:03:49 2007
@@ -0,0 +1,83 @@
+package org.apache.directory.studio.model;
+
+
+import java.util.Comparator;
+
+import javax.naming.NamingException;
+
+import org.apache.directory.shared.ldap.schema.AbstractMatchingRule;
+import org.apache.directory.shared.ldap.schema.MutableSchemaObject;
+import org.apache.directory.shared.ldap.schema.Normalizer;
+import org.apache.directory.shared.ldap.schema.Syntax;
+
+
+public class MatchingRuleImpl extends AbstractMatchingRule implements MutableSchemaObject
+{
+    private static final long serialVersionUID = 1L;
+    
+    /** The OID of the syntax */
+    private String syntaxtOid;
+
+
+    public String getSyntaxtOid()
+    {
+        return syntaxtOid;
+    }
+
+
+    public void setSyntaxtOid( String syntaxtOid )
+    {
+        this.syntaxtOid = syntaxtOid;
+    }
+
+
+    public MatchingRuleImpl( String oid )
+    {
+        super( oid );
+    }
+
+
+    public Comparator getComparator() throws NamingException
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+
+    public Normalizer getNormalizer() throws NamingException
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+
+    public Syntax getSyntax() throws NamingException
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+
+    @Override
+    public void setDescription( String description )
+    {
+        // TODO Auto-generated method stub
+        super.setDescription( description );
+    }
+
+
+    @Override
+    public void setNames( String[] names )
+    {
+        // TODO Auto-generated method stub
+        super.setNames( names );
+    }
+
+
+    @Override
+    public void setObsolete( boolean obsolete )
+    {
+        // TODO Auto-generated method stub
+        super.setObsolete( obsolete );
+    }
+}
\ No newline at end of file

Added: directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/ObjectClassImpl.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/ObjectClassImpl.java?view=auto&rev=547703
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/ObjectClassImpl.java (added)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/ObjectClassImpl.java Fri Jun 15 08:03:49 2007
@@ -0,0 +1,122 @@
+
+package org.apache.directory.studio.model;
+
+import javax.naming.NamingException;
+
+import org.apache.directory.shared.ldap.schema.AbstractSchemaObject;
+import org.apache.directory.shared.ldap.schema.AttributeType;
+import org.apache.directory.shared.ldap.schema.MutableSchemaObject;
+import org.apache.directory.shared.ldap.schema.ObjectClass;
+import org.apache.directory.shared.ldap.schema.ObjectClassTypeEnum;
+
+public class ObjectClassImpl extends AbstractSchemaObject implements MutableSchemaObject, ObjectClass
+{
+    private ObjectClassTypeEnum objectClassTypeEnum;
+    
+    private String[] mayNamesList;
+    
+    private String[] mustNamesList;
+    
+    private String[] superClassesNames;
+    
+    public ObjectClassImpl( String oid )
+    {
+        super( oid );
+        // TODO Auto-generated constructor stub
+    }
+
+    /**
+     * 
+     */
+    private static final long serialVersionUID = 1L;
+
+    public AttributeType[] getMayList() throws NamingException
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    public AttributeType[] getMustList() throws NamingException
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    public ObjectClass[] getSuperClasses() throws NamingException
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    @Override
+    public void setDescription( String description )
+    {
+        // TODO Auto-generated method stub
+        super.setDescription( description );
+    }
+
+    @Override
+    public void setNames( String[] names )
+    {
+        // TODO Auto-generated method stub
+        super.setNames( names );
+    }
+
+    @Override
+    public void setObsolete( boolean obsolete )
+    {
+        // TODO Auto-generated method stub
+        super.setObsolete( obsolete );
+    }
+
+    public String[] getMayNamesList()
+    {
+        return mayNamesList;
+    }
+
+    public void setMayNamesList( String[] mayNamesList )
+    {
+        this.mayNamesList = mayNamesList;
+    }
+
+    public String[] getMustNamesList()
+    {
+        return mustNamesList;
+    }
+
+    public void setMustNamesList( String[] mustNamesList )
+    {
+        this.mustNamesList = mustNamesList;
+    }
+
+    public String[] getSuperClassesNames()
+    {
+        return superClassesNames;
+    }
+
+    public void setSuperClassesNames( String[] superClassesNames )
+    {
+        this.superClassesNames = superClassesNames;
+    }
+
+    public ObjectClassTypeEnum getObjectClassTypeEnum()
+    {
+        return objectClassTypeEnum;
+    }
+
+    public void setObjectClassTypeEnum( ObjectClassTypeEnum objectClassTypeEnum )
+    {
+        this.objectClassTypeEnum = objectClassTypeEnum;
+    }
+
+    public ObjectClassTypeEnum getType()
+    {
+        return objectClassTypeEnum;
+    }
+    
+    
+    public void setType( ObjectClassTypeEnum objectClassTypeEnum )
+    {
+        this.objectClassTypeEnum = objectClassTypeEnum;
+    }
+}

Added: directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/Schema.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/Schema.java?view=auto&rev=547703
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/Schema.java (added)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/Schema.java Fri Jun 15 08:03:49 2007
@@ -0,0 +1,192 @@
+package org.apache.directory.studio.model;
+
+
+import java.util.List;
+
+import org.apache.directory.shared.ldap.schema.AttributeType;
+import org.apache.directory.shared.ldap.schema.MatchingRule;
+import org.apache.directory.shared.ldap.schema.ObjectClass;
+import org.apache.directory.shared.ldap.schema.Syntax;
+
+
+/**
+ * This interface represents a Schema.
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public interface Schema
+{
+    /**
+     * Gets the name of the Schema.
+     * 
+     * @return
+     * 		the name of the Schema
+     */
+    public String getName();
+
+
+    /**
+     * Sets the name of the Schema.
+     * 
+     * @param name
+     * 		the name of the schema
+     */
+    public void setName( String name );
+
+
+    /**
+     * Gets all the ObjectClass objects contained in the Schema.
+     * 
+     * @return
+     * 		all the ObjectClass objects contained in the Schema
+     */
+    public List<ObjectClass> getObjectClasses();
+
+
+    /**
+     * Gets all the AttributeType objects contained in the Schema.
+     * 
+     * @return
+     * 		all the AttributeType objects contained in the Schema
+     */
+    public List<AttributeType> getAttributeTypes();
+
+
+    /**
+     * Gets all the MatchingRule objects contained in the Schema.
+     * 
+     * @return
+     *      all the MatchingRule objects contained in the Schema
+     */
+    public List<MatchingRule> getMatchingRules();
+
+
+    /**
+     * Gets all the Syntax objects contained in the Schema.
+     * 
+     * @return
+     *      all the Syntax objects contained in the Schema
+     */
+    public List<Syntax> getSyntaxes();
+
+
+    /**
+     * Gets the ObjectClass identified by the given id.
+     * 
+     * @param id
+     * 		the name or the oid of the ObjectClass
+     * @return
+     * 		the ObjectClass identified by the given id, or null if the 
+     * ObjectClass has not been found
+     */
+    public ObjectClass getObjectClass( String id );
+
+
+    /**
+     * Gets the AttributeType identified by the given id.
+     * 
+     * @param id
+     * 		the name or the oid of the AttributeType
+     * @return
+     * 		the AttributeType identified by the given id, or null if the 
+     * AttributeType has not been found
+     */
+    public AttributeType getAttributeType( String id );
+
+
+    /**
+     * Gets the MatchingRule identified by the given id.
+     * 
+     * @param id
+     *      the name or the oid of the AttributeType
+     * @return
+     *      the MatchingRule identified by the given id, or null if the 
+     * MatchingRule has not been found
+     */
+    public MatchingRule getMatchingRule( String id );
+
+
+    /**
+     * Gets the Syntax identified by the given id.
+     * 
+     * @param id
+     *      the name or the oid of the AttributeType
+     * @return
+     *      the Syntax identified by the given id, or null if the 
+     * Syntax has not been found
+     */
+    public MatchingRule getSyntax( String id );
+
+
+    /**
+     * Adds an ObjectClass to the Schema.
+     * 
+     * @param oc
+     *      the ObjectClass
+     */
+    public boolean addObjectClass( ObjectClass oc );
+
+
+    /**
+     * Adds an AttributeType to the Schema.
+     * 
+     * @param at
+     *      the AttributeType
+     */
+    public boolean addAttributeType( AttributeType at );
+
+
+    /**
+     * Adds a MatchingRule from the Schema.
+     * 
+     * @param mr
+     *      the MatchingRule
+     */
+    public boolean addMatchingRule( MatchingRule mr );
+
+
+    /**
+     * Adds a Syntax from the Schema.
+     * 
+     * @param syntax
+     *      the Syntax
+     */
+    public boolean addSyntax( Syntax syntax );
+
+
+    /**
+     * Removes an ObjectClass from the Schema.
+     *
+     * @param oc
+     *      the ObjectClass
+     */
+    public boolean removeObjectClass( ObjectClass oc );
+
+
+    /**
+     * Removes an AttributeType from the Schema.
+     * 
+     * @param at
+     *      the AttributeType
+     */
+    public boolean removeAttributeType( AttributeType at );
+
+
+    /**
+     * Removes a MatchingRule from the Schema.
+     * 
+     * @param mr
+     *      the MatchingRule
+     */
+    public boolean removeMatchingRule( MatchingRule mr );
+
+
+    /**
+     * Removes a Syntax from the Schema.
+     * 
+     * @param syntax
+     *      the Syntax
+     */
+    public boolean removeSyntax( Syntax syntax );
+}

Added: directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/SchemaImpl.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/SchemaImpl.java?view=auto&rev=547703
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/SchemaImpl.java (added)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/SchemaImpl.java Fri Jun 15 08:03:49 2007
@@ -0,0 +1,201 @@
+package org.apache.directory.studio.model;
+
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.apache.directory.shared.ldap.schema.AttributeType;
+import org.apache.directory.shared.ldap.schema.MatchingRule;
+import org.apache.directory.shared.ldap.schema.ObjectClass;
+import org.apache.directory.shared.ldap.schema.Syntax;
+
+
+public class SchemaImpl implements Schema
+{
+    /** The name */
+    private String name;
+
+    /** The AttributeType List */
+    private List<AttributeType> attributeTypes = new ArrayList<AttributeType>();
+
+    /** The ObjectClass List */
+    private List<ObjectClass> objectClasses = new ArrayList<ObjectClass>();
+
+    /** The MatchingRule List */
+    private List<MatchingRule> matchingRules = new ArrayList<MatchingRule>();
+
+    /** The Syntax List */
+    private List<Syntax> syntaxes = new ArrayList<Syntax>();
+
+
+    public SchemaImpl( String name )
+    {
+        this.name = name;
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.apache.directory.studio.model.Schema#addAttributeType(org.apache.directory.shared.ldap.schema.AttributeType)
+     */
+    public boolean addAttributeType( AttributeType at )
+    {
+        return attributeTypes.add( at );
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.apache.directory.studio.model.Schema#addMatchingRule(org.apache.directory.shared.ldap.schema.MatchingRule)
+     */
+    public boolean addMatchingRule( MatchingRule mr )
+    {
+        return matchingRules.add( mr );
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.apache.directory.studio.model.Schema#addObjectClass(org.apache.directory.shared.ldap.schema.ObjectClass)
+     */
+    public boolean addObjectClass( ObjectClass oc )
+    {
+        return objectClasses.add( oc );
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.apache.directory.studio.model.Schema#addSyntax(org.apache.directory.shared.ldap.schema.Syntax)
+     */
+    public boolean addSyntax( Syntax syntax )
+    {
+        return syntaxes.add( syntax );
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.apache.directory.studio.model.Schema#getAttributeType(java.lang.String)
+     */
+    public AttributeType getAttributeType( String id )
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.apache.directory.studio.model.Schema#getAttributeTypes()
+     */
+    public List<AttributeType> getAttributeTypes()
+    {
+        return attributeTypes;
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.apache.directory.studio.model.Schema#getMatchingRule(java.lang.String)
+     */
+    public MatchingRule getMatchingRule( String id )
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.apache.directory.studio.model.Schema#getMatchingRules()
+     */
+    public List<MatchingRule> getMatchingRules()
+    {
+        return matchingRules;
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.apache.directory.studio.model.Schema#getName()
+     */
+    public String getName()
+    {
+        return name;
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.apache.directory.studio.model.Schema#getObjectClass(java.lang.String)
+     */
+    public ObjectClass getObjectClass( String id )
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.apache.directory.studio.model.Schema#getObjectClasses()
+     */
+    public List<ObjectClass> getObjectClasses()
+    {
+        return objectClasses;
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.apache.directory.studio.model.Schema#getSyntax(java.lang.String)
+     */
+    public MatchingRule getSyntax( String id )
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.apache.directory.studio.model.Schema#getSyntaxes()
+     */
+    public List<Syntax> getSyntaxes()
+    {
+        return syntaxes;
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.apache.directory.studio.model.Schema#removeAttributeType(org.apache.directory.shared.ldap.schema.AttributeType)
+     */
+    public boolean removeAttributeType( AttributeType at )
+    {
+        return attributeTypes.remove( at );
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.apache.directory.studio.model.Schema#removeMatchingRule(org.apache.directory.shared.ldap.schema.MatchingRule)
+     */
+    public boolean removeMatchingRule( MatchingRule mr )
+    {
+        return matchingRules.remove( mr );
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.apache.directory.studio.model.Schema#removeObjectClass(org.apache.directory.shared.ldap.schema.ObjectClass)
+     */
+    public boolean removeObjectClass( ObjectClass oc )
+    {
+        return objectClasses.remove( oc );
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.apache.directory.studio.model.Schema#removeSyntax(org.apache.directory.shared.ldap.schema.Syntax)
+     */
+    public boolean removeSyntax( Syntax syntax )
+    {
+        return syntaxes.remove( syntax );
+    }
+
+
+    /* (non-Javadoc)
+     * @see org.apache.directory.studio.model.Schema#setName(java.lang.String)
+     */
+    public void setName( String name )
+    {
+        this.name = name;
+    }
+}

Added: directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/SyntaxImpl.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/SyntaxImpl.java?view=auto&rev=547703
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/SyntaxImpl.java (added)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/model/SyntaxImpl.java Fri Jun 15 08:03:49 2007
@@ -0,0 +1,60 @@
+package org.apache.directory.studio.model;
+
+
+import javax.naming.NamingException;
+
+import org.apache.directory.shared.ldap.schema.AbstractSyntax;
+import org.apache.directory.shared.ldap.schema.syntax.SyntaxChecker;
+
+
+public class SyntaxImpl extends AbstractSyntax
+{
+    private static final long serialVersionUID = 1L;
+
+
+    public SyntaxImpl( String oid )
+    {
+        super( oid );
+        // TODO Auto-generated constructor stub
+    }
+
+
+    @Override
+    public void setHumanReadible( boolean isHumanReadible )
+    {
+        // TODO Auto-generated method stub
+        super.setHumanReadible( isHumanReadible );
+    }
+
+
+    @Override
+    public void setDescription( String description )
+    {
+        // TODO Auto-generated method stub
+        super.setDescription( description );
+    }
+
+
+    @Override
+    public void setNames( String[] names )
+    {
+        // TODO Auto-generated method stub
+        super.setNames( names );
+    }
+
+
+    @Override
+    public void setObsolete( boolean obsolete )
+    {
+        // TODO Auto-generated method stub
+        super.setObsolete( obsolete );
+    }
+
+
+    public SyntaxChecker getSyntaxChecker() throws NamingException
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+}



Mime
View raw message