public class LdifSchemaLoader extends AbstractSchemaLoader
Constructor and Description |
---|
LdifSchemaLoader(File baseDirectory)
Creates a new LDIF based SchemaLoader.
|
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
|
addSchema, getAllEnabled, getAllSchemas, getSchema, isRelaxed, isStrict, loadAttributeTypes, loadComparators, loadDitContentRules, loadDitStructureRules, loadMatchingRules, loadMatchingRuleUses, loadNameForms, loadNormalizers, loadObjectClasses, loadSyntaxCheckers, loadSyntaxes, removeSchema, setRelaxed
public LdifSchemaLoader(File baseDirectory) throws LdapException, IOException
baseDirectory
- the schema LDIF base directoryLdapException
- if the base directory does not exist or does not
a valid schema.ldif fileIOException
- If we can't load the schemapublic List<Entry> loadComparators(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which Comparators are loadedLdapException
- if there are failures accessing Comparator informationIOException
- If we can't read the schemaObjectpublic List<Entry> loadSyntaxCheckers(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which SyntaxCheckers are loadedLdapException
- if there are failures accessing SyntaxChecker informationIOException
- If we can't read the schemaObjectpublic List<Entry> loadNormalizers(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which Normalizers are loadedLdapException
- if there are failures accessing Normalizer informationIOException
- If we can't read the schemaObjectpublic List<Entry> loadMatchingRules(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which MatchingRules are loadedLdapException
- if there are failures accessing MatchingRule informationIOException
- If we can't read the schemaObjectpublic List<Entry> loadSyntaxes(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which Syntaxes are loadedLdapException
- if there are failures accessing Syntax informationIOException
- If we can't read the schemaObjectpublic List<Entry> loadAttributeTypes(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which AttributeTypes are loadedLdapException
- if there are failures accessing AttributeType informationIOException
- If we can't read the schemaObjectpublic List<Entry> loadMatchingRuleUses(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which MatchingRuleUses are loadedLdapException
- if there are failures accessing MatchingRuleUse informationIOException
- If we can't read the schemaObjectpublic List<Entry> loadNameForms(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which NameForms are loadedLdapException
- if there are failures accessing NameForm informationIOException
- If we can't read the schemaObjectpublic List<Entry> loadDitContentRules(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which DitContentRules are loadedLdapException
- if there are failures accessing DitContentRule informationIOException
- If we can't read the schemaObjectpublic List<Entry> loadDitStructureRules(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which DitStructureRules are loadedLdapException
- if there are failures accessing DitStructureRule informationIOException
- If we can't read the schemaObjectpublic List<Entry> loadObjectClasses(Schema... schemas) throws LdapException, IOException
schemas
- the schemas from which ObjectClasses are loadedLdapException
- if there are failures accessing ObjectClass informationIOException
- If we can't read the schemaObjectCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.