public interface SyntaxCheckerRegistry extends SchemaObjectRegistry<SyntaxChecker>, Iterable<SyntaxChecker>
Modifier and Type | Method and Description |
---|---|
SyntaxCheckerRegistry |
copy()
Copy the SyntaxCheckerRegistry
|
void |
register(SyntaxChecker syntaxChecker)
Registers a new SyntaxChecker with this registry.
|
SyntaxChecker |
unregister(String numericOid)
Removes the SyntaxChecker registered with this registry, using its
numeric OID.
|
void |
unregisterSchemaElements(String schemaName)
Unregisters all SyntaxCheckers defined for a specific schema from
this registry.
|
clear, contains, get, getOidByName, getSchemaName, getType, iterator, lookup, oidsIterator, renameSchema, size, unregister
void register(SyntaxChecker syntaxChecker) throws LdapException
register
in interface SchemaObjectRegistry<SyntaxChecker>
syntaxChecker
- the SyntaxChecker to registerLdapException
- if the SyntaxChecker is already registered or
the registration operation is not supportedSyntaxChecker unregister(String numericOid) throws LdapException
unregister
in interface SchemaObjectRegistry<SyntaxChecker>
numericOid
- the numeric identifierLdapException
- if the numeric identifier is invalidvoid unregisterSchemaElements(String schemaName) throws LdapException
unregisterSchemaElements
in interface SchemaObjectRegistry<SyntaxChecker>
schemaName
- the name of the schema whose SyntaxCheckers will be removed fromLdapException
SyntaxCheckerRegistry copy()
copy
in interface SchemaObjectRegistry<SyntaxChecker>
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.