org.apache.directory.api.ldap.model.schema.registries
Class DefaultComparatorRegistry
java.lang.Object
org.apache.directory.api.ldap.model.schema.registries.DefaultSchemaObjectRegistry<LdapComparator<?>>
org.apache.directory.api.ldap.model.schema.registries.DefaultComparatorRegistry
- All Implemented Interfaces:
- Iterable<LdapComparator<?>>, ComparatorRegistry, SchemaObjectRegistry<LdapComparator<?>>
public class DefaultComparatorRegistry
- extends DefaultSchemaObjectRegistry<LdapComparator<?>>
- implements ComparatorRegistry
A Comparator registry service default implementation.
- Author:
- Apache Directory Project
| Methods inherited from class org.apache.directory.api.ldap.model.schema.registries.DefaultSchemaObjectRegistry |
clear, contains, copy, get, getOidByName, getSchemaName, getType, iterator, lookup, oidsIterator, register, renameSchema, size, unregister, unregister |
| Methods inherited from interface org.apache.directory.api.ldap.model.schema.registries.SchemaObjectRegistry |
clear, contains, get, getOidByName, getSchemaName, getType, iterator, lookup, oidsIterator, renameSchema, size, unregister |
DefaultComparatorRegistry
public DefaultComparatorRegistry()
- Creates a new default ComparatorRegistry instance.
unregisterSchemaElements
public void unregisterSchemaElements(String schemaName)
throws LdapException
- Unregisters all SchemaObjects defined for a specific schema from
this registry.
- Specified by:
unregisterSchemaElements in interface ComparatorRegistry- Specified by:
unregisterSchemaElements in interface SchemaObjectRegistry<LdapComparator<?>>- Overrides:
unregisterSchemaElements in class DefaultSchemaObjectRegistry<LdapComparator<?>>
- Parameters:
schemaName - the name of the schema whose SchemaObjects will be removed from
- Throws:
LdapException
copy
public DefaultComparatorRegistry copy()
- Copy the ComparatorRegistry
- Specified by:
copy in interface ComparatorRegistry- Specified by:
copy in interface SchemaObjectRegistry<LdapComparator<?>>
- Returns:
- SchemaObjectRegistry The copied registry
toString
public String toString()
- Overrides:
toString in class DefaultSchemaObjectRegistry<LdapComparator<?>>
- See Also:
Object.toString()
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.