public class DefaultSchemaLoader extends AbstractSchemaLoader
schemaMap| Constructor and Description |
|---|
DefaultSchemaLoader(LdapConnection connection)
Creates a new instance of DefaultSchemaLoader.
|
DefaultSchemaLoader(LdapConnection connection,
boolean relaxed)
Creates a new instance of DefaultSchemaLoader.
|
DefaultSchemaLoader(LdapConnection connection,
Dn subschemaSubentryDn)
Creates a new instance of NetworkSchemaLoader.
|
| Modifier and Type | Method and Description |
|---|---|
List<Entry> |
loadAttributeTypes(Schema... schemas)
Build a list of AttributeTypes read from the underlying storage for
a list of specified schema
|
List<Entry> |
loadComparators(Schema... schemas)
Build a list of Comparators read from the underlying storage for
a list of specific schema.
|
List<Entry> |
loadDitContentRules(Schema... schemas)
Build a list of DitContentRules read from the underlying storage for
a list of specific schema.
|
List<Entry> |
loadDitStructureRules(Schema... schemas)
Build a list of DitStructureRules read from the underlying storage for
a list of specific schema.
|
List<Entry> |
loadMatchingRules(Schema... schemas)
Build a list of MatchingRules read from the underlying storage for
a list of specific schema
|
List<Entry> |
loadMatchingRuleUses(Schema... schemas)
Build a list of MatchingRuleUses read from the underlying storage for
a list of specific schema.
|
List<Entry> |
loadNameForms(Schema... schemas)
Build a list of NameForms read from the underlying storage for
a list of specific schema.
|
List<Entry> |
loadNormalizers(Schema... schemas)
Build a list of Normalizers read from the underlying storage for
a list of specified schema
|
List<Entry> |
loadObjectClasses(Schema... schemas)
Build a list of ObjectClasses read from the underlying storage for
a list of specific schema.
|
List<Entry> |
loadSyntaxCheckers(Schema... schemas)
Build a list of SyntaxCheckers read from the underlying storage for
a list of specified schema
|
List<Entry> |
loadSyntaxes(Schema... schemas)
Build a list of Syntaxes read from the underlying storage for
a list of specified schema
|
void |
setQuirksMode(boolean enabled)
Sets the quirks mode for all the internal parsers.
|
addSchema, getAllEnabled, getAllSchemas, getSchema, getSchema, isRelaxed, isStrict, loadAttributeTypes, loadComparators, loadDitContentRules, loadDitStructureRules, loadMatchingRules, loadMatchingRuleUses, loadNameForms, loadNormalizers, loadObjectClasses, loadSyntaxCheckers, loadSyntaxes, removeSchema, setRelaxedpublic DefaultSchemaLoader(LdapConnection connection) throws LdapException
connection - the LDAP connectionException - if the connection is not authenticated or if there are any problems
while loading the schema entriesLdapExceptionpublic DefaultSchemaLoader(LdapConnection connection, boolean relaxed) throws LdapException
connection - the LDAP connectioninitial - setting for the relaxed modeException - if the connection is not authenticated or if there are any problems
while loading the schema entriesLdapExceptionpublic DefaultSchemaLoader(LdapConnection connection, Dn subschemaSubentryDn) throws Exception
connection - the LDAP connectionException - if the connection is not authenticated or if there are any problems
while loading the schema entriespublic List<Entry> loadAttributeTypes(Schema... schemas) throws LdapException, IOException
schemas - the schemas from which AttributeTypes are loadedLdapExceptionIOExceptionpublic List<Entry> loadComparators(Schema... schemas) throws LdapException, IOException
schemas - the schemas from which Comparators are loadedLdapExceptionIOExceptionpublic List<Entry> loadDitContentRules(Schema... schemas) throws LdapException, IOException
schemas - the schemas from which DitContentRules are loadedLdapExceptionIOExceptionpublic List<Entry> loadDitStructureRules(Schema... schemas) throws LdapException, IOException
schemas - the schemas from which DitStructureRules are loadedLdapExceptionIOExceptionpublic List<Entry> loadMatchingRuleUses(Schema... schemas) throws LdapException, IOException
schemas - the schemas from which MatchingRuleUses are loadedLdapExceptionIOExceptionpublic List<Entry> loadMatchingRules(Schema... schemas) throws LdapException, IOException
schemas - the schemas from which MatchingRules are loadedLdapExceptionIOExceptionpublic List<Entry> loadNameForms(Schema... schemas) throws LdapException, IOException
schemas - the schemas from which NameForms are loadedLdapExceptionIOExceptionpublic List<Entry> loadNormalizers(Schema... schemas) throws LdapException, IOException
schemas - the schemas from which Normalizers are loadedLdapExceptionIOExceptionpublic List<Entry> loadObjectClasses(Schema... schemas) throws LdapException, IOException
schemas - the schemas from which ObjectClasses are loadedLdapExceptionIOExceptionpublic List<Entry> loadSyntaxCheckers(Schema... schemas) throws LdapException, IOException
schemas - the schemas from which SyntaxCheckers are loadedLdapExceptionIOExceptionpublic List<Entry> loadSyntaxes(Schema... schemas) throws LdapException, IOException
schemas - the schemas from which Syntaxes are loadedLdapExceptionIOExceptionpublic void setQuirksMode(boolean enabled)
enabled - the new quirks modeCopyright © 2021. All rights reserved.