public class DefaultSchemaLoader
extends org.apache.directory.api.ldap.model.schema.registries.AbstractSchemaLoader
| 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,
org.apache.directory.api.ldap.model.name.Dn subschemaSubentryDn)
Creates a new instance of NetworkSchemaLoader.
|
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.directory.api.ldap.model.entry.Entry> |
loadAttributeTypes(org.apache.directory.api.ldap.model.schema.registries.Schema... schemas) |
List<org.apache.directory.api.ldap.model.entry.Entry> |
loadComparators(org.apache.directory.api.ldap.model.schema.registries.Schema... schemas) |
List<org.apache.directory.api.ldap.model.entry.Entry> |
loadDitContentRules(org.apache.directory.api.ldap.model.schema.registries.Schema... schemas) |
List<org.apache.directory.api.ldap.model.entry.Entry> |
loadDitStructureRules(org.apache.directory.api.ldap.model.schema.registries.Schema... schemas) |
List<org.apache.directory.api.ldap.model.entry.Entry> |
loadMatchingRules(org.apache.directory.api.ldap.model.schema.registries.Schema... schemas) |
List<org.apache.directory.api.ldap.model.entry.Entry> |
loadMatchingRuleUses(org.apache.directory.api.ldap.model.schema.registries.Schema... schemas) |
List<org.apache.directory.api.ldap.model.entry.Entry> |
loadNameForms(org.apache.directory.api.ldap.model.schema.registries.Schema... schemas) |
List<org.apache.directory.api.ldap.model.entry.Entry> |
loadNormalizers(org.apache.directory.api.ldap.model.schema.registries.Schema... schemas) |
List<org.apache.directory.api.ldap.model.entry.Entry> |
loadObjectClasses(org.apache.directory.api.ldap.model.schema.registries.Schema... schemas) |
List<org.apache.directory.api.ldap.model.entry.Entry> |
loadSyntaxCheckers(org.apache.directory.api.ldap.model.schema.registries.Schema... schemas) |
List<org.apache.directory.api.ldap.model.entry.Entry> |
loadSyntaxes(org.apache.directory.api.ldap.model.schema.registries.Schema... schemas) |
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 org.apache.directory.api.ldap.model.exception.LdapException
connection - the LDAP connectionorg.apache.directory.api.ldap.model.exception.LdapException - if the connection is not authenticated or if there are any problems
while loading the schema entriespublic DefaultSchemaLoader(LdapConnection connection, boolean relaxed) throws org.apache.directory.api.ldap.model.exception.LdapException
connection - the LDAP connectioninitial - setting for the relaxed modeorg.apache.directory.api.ldap.model.exception.LdapException - if the connection is not authenticated or if there are any problems
while loading the schema entriespublic DefaultSchemaLoader(LdapConnection connection, org.apache.directory.api.ldap.model.name.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<org.apache.directory.api.ldap.model.entry.Entry> loadAttributeTypes(org.apache.directory.api.ldap.model.schema.registries.Schema... schemas) throws org.apache.directory.api.ldap.model.exception.LdapException, IOException
org.apache.directory.api.ldap.model.exception.LdapExceptionIOExceptionpublic List<org.apache.directory.api.ldap.model.entry.Entry> loadComparators(org.apache.directory.api.ldap.model.schema.registries.Schema... schemas) throws org.apache.directory.api.ldap.model.exception.LdapException, IOException
org.apache.directory.api.ldap.model.exception.LdapExceptionIOExceptionpublic List<org.apache.directory.api.ldap.model.entry.Entry> loadDitContentRules(org.apache.directory.api.ldap.model.schema.registries.Schema... schemas) throws org.apache.directory.api.ldap.model.exception.LdapException, IOException
org.apache.directory.api.ldap.model.exception.LdapExceptionIOExceptionpublic List<org.apache.directory.api.ldap.model.entry.Entry> loadDitStructureRules(org.apache.directory.api.ldap.model.schema.registries.Schema... schemas) throws org.apache.directory.api.ldap.model.exception.LdapException, IOException
org.apache.directory.api.ldap.model.exception.LdapExceptionIOExceptionpublic List<org.apache.directory.api.ldap.model.entry.Entry> loadMatchingRuleUses(org.apache.directory.api.ldap.model.schema.registries.Schema... schemas) throws org.apache.directory.api.ldap.model.exception.LdapException, IOException
org.apache.directory.api.ldap.model.exception.LdapExceptionIOExceptionpublic List<org.apache.directory.api.ldap.model.entry.Entry> loadMatchingRules(org.apache.directory.api.ldap.model.schema.registries.Schema... schemas) throws org.apache.directory.api.ldap.model.exception.LdapException, IOException
org.apache.directory.api.ldap.model.exception.LdapExceptionIOExceptionpublic List<org.apache.directory.api.ldap.model.entry.Entry> loadNameForms(org.apache.directory.api.ldap.model.schema.registries.Schema... schemas) throws org.apache.directory.api.ldap.model.exception.LdapException, IOException
org.apache.directory.api.ldap.model.exception.LdapExceptionIOExceptionpublic List<org.apache.directory.api.ldap.model.entry.Entry> loadNormalizers(org.apache.directory.api.ldap.model.schema.registries.Schema... schemas) throws org.apache.directory.api.ldap.model.exception.LdapException, IOException
org.apache.directory.api.ldap.model.exception.LdapExceptionIOExceptionpublic List<org.apache.directory.api.ldap.model.entry.Entry> loadObjectClasses(org.apache.directory.api.ldap.model.schema.registries.Schema... schemas) throws org.apache.directory.api.ldap.model.exception.LdapException, IOException
org.apache.directory.api.ldap.model.exception.LdapExceptionIOExceptionpublic List<org.apache.directory.api.ldap.model.entry.Entry> loadSyntaxCheckers(org.apache.directory.api.ldap.model.schema.registries.Schema... schemas) throws org.apache.directory.api.ldap.model.exception.LdapException, IOException
org.apache.directory.api.ldap.model.exception.LdapExceptionIOExceptionpublic List<org.apache.directory.api.ldap.model.entry.Entry> loadSyntaxes(org.apache.directory.api.ldap.model.schema.registries.Schema... schemas) throws org.apache.directory.api.ldap.model.exception.LdapException, IOException
org.apache.directory.api.ldap.model.exception.LdapExceptionIOExceptionpublic void setQuirksMode(boolean enabled)
enabled - the new quirks modeCopyright © 2009–2016 The Apache Software Foundation. All rights reserved.