directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r803524 - in /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/syntaxes: ComparatorSyntaxChecker.java NormalizerSyntaxChecker.java SyntaxCheckerSyntaxChecker.java
Date Wed, 12 Aug 2009 14:14:09 GMT
Author: elecharny
Date: Wed Aug 12 14:14:09 2009
New Revision: 803524

URL: http://svn.apache.org/viewvc?rev=803524&view=rev
Log:
Added the syntaxCheckers for the Comparator, Normalizer and SyantxChecker elements

Added:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/syntaxes/ComparatorSyntaxChecker.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/syntaxes/NormalizerSyntaxChecker.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/syntaxes/SyntaxCheckerSyntaxChecker.java

Added: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/syntaxes/ComparatorSyntaxChecker.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/syntaxes/ComparatorSyntaxChecker.java?rev=803524&view=auto
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/syntaxes/ComparatorSyntaxChecker.java
(added)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/syntaxes/ComparatorSyntaxChecker.java
Wed Aug 12 14:14:09 2009
@@ -0,0 +1,54 @@
+/*
+ *  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. 
+ *  
+ */
+package org.apache.directory.shared.ldap.schema.syntaxes;
+
+import org.apache.directory.shared.ldap.constants.SchemaConstants;
+
+/**
+ * A SyntaxChecker for the Comparator schema element
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev: 437007 $
+ */
+public class ComparatorSyntaxChecker extends Ia5StringSyntaxChecker
+{
+    /**
+     * 
+     * Creates a new instance of ComparatorSyntaxChecker.
+     *
+     */
+    public ComparatorSyntaxChecker()
+    {
+        super( SchemaConstants.COMPARATOR_SYNTAX );
+    }
+    
+    /**
+     * 
+     * Creates a new instance of ComparatorSyntaxChecker.
+     * 
+     * @param oid the oid to associate with this new SyntaxChecker
+     *
+     */
+    protected ComparatorSyntaxChecker( String oid )
+    {
+        super( oid );
+    }
+
+}

Added: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/syntaxes/NormalizerSyntaxChecker.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/syntaxes/NormalizerSyntaxChecker.java?rev=803524&view=auto
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/syntaxes/NormalizerSyntaxChecker.java
(added)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/syntaxes/NormalizerSyntaxChecker.java
Wed Aug 12 14:14:09 2009
@@ -0,0 +1,54 @@
+/*
+ *  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. 
+ *  
+ */
+package org.apache.directory.shared.ldap.schema.syntaxes;
+
+import org.apache.directory.shared.ldap.constants.SchemaConstants;
+
+/**
+ * A SyntaxChecker for the Normalizer schema element
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev: 437007 $
+ */
+public class NormalizerSyntaxChecker extends Ia5StringSyntaxChecker
+{
+    /**
+     * 
+     * Creates a new instance of NormalizerSyntaxChecker.
+     *
+     */
+    public NormalizerSyntaxChecker()
+    {
+        super( SchemaConstants.NORMALIZER_SYNTAX );
+    }
+    
+    /**
+     * 
+     * Creates a new instance of NormalizerSyntaxChecker.
+     * 
+     * @param oid the oid to associate with this new SyntaxChecker
+     *
+     */
+    protected NormalizerSyntaxChecker( String oid )
+    {
+        super( oid );
+    }
+
+}

Added: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/syntaxes/SyntaxCheckerSyntaxChecker.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/syntaxes/SyntaxCheckerSyntaxChecker.java?rev=803524&view=auto
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/syntaxes/SyntaxCheckerSyntaxChecker.java
(added)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/syntaxes/SyntaxCheckerSyntaxChecker.java
Wed Aug 12 14:14:09 2009
@@ -0,0 +1,54 @@
+/*
+ *  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. 
+ *  
+ */
+package org.apache.directory.shared.ldap.schema.syntaxes;
+
+import org.apache.directory.shared.ldap.constants.SchemaConstants;
+
+/**
+ * A SyntaxChecker for the SyntaxChecker schema element
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev: 437007 $
+ */
+public class SyntaxCheckerSyntaxChecker extends Ia5StringSyntaxChecker
+{
+    /**
+     * 
+     * Creates a new instance of SyntaxCheckerSyntaxChecker.
+     *
+     */
+    public SyntaxCheckerSyntaxChecker()
+    {
+        super( SchemaConstants.SYNTAX_CHECKER_SYNTAX );
+    }
+    
+    /**
+     * 
+     * Creates a new instance of SyntaxCheckerSyntaxChecker.
+     * 
+     * @param oid the oid to associate with this new SyntaxChecker
+     *
+     */
+    protected SyntaxCheckerSyntaxChecker( String oid )
+    {
+        super( oid );
+    }
+
+}



Mime
View raw message