public class SingleLdifSchemaLoader extends AbstractSchemaLoader
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG
The logger.
|
private static java.util.regex.Pattern |
SCHEMA_START_PATTERN
Pattern for start of schema Dn.
|
private java.lang.String[] |
schemaObjectTypeRdns
The schema object Rdn attribute types.
|
private java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.List<Entry>>> |
scObjEntryMap
The map containing ...
|
schemaMap| Constructor and Description |
|---|
SingleLdifSchemaLoader()
Instantiates a new single LDIF schema loader.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
initializeSchemas(java.io.InputStream in) |
java.util.List<Entry> |
loadAttributeTypes(Schema... schemas)
Build a list of AttributeTypes read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
loadComparators(Schema... schemas)
Build a list of Comparators read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
loadDitContentRules(Schema... schemas)
Build a list of DitContentRules read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
loadDitStructureRules(Schema... schemas)
Build a list of DitStructureRules read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
loadMatchingRules(Schema... schemas)
Build a list of MatchingRules read from the underlying storage for
a list of specific schema
|
java.util.List<Entry> |
loadMatchingRuleUses(Schema... schemas)
Build a list of MatchingRuleUses read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
loadNameForms(Schema... schemas)
Build a list of NameForms read from the underlying storage for
a list of specific schema.
|
java.util.List<Entry> |
loadNormalizers(Schema... schemas)
Build a list of Normalizers read from the underlying storage for
a list of specified schema
|
java.util.List<Entry> |
loadObjectClasses(Schema... schemas)
Build a list of ObjectClasses read from the underlying storage for
a list of specific schema.
|
private void |
loadSchemaObject(java.lang.String schemaName,
LdifEntry ldifEntry) |
private java.util.List<Entry> |
loadSchemaObjects(java.lang.String schemaObjectType,
Schema... schemas) |
java.util.List<Entry> |
loadSyntaxCheckers(Schema... schemas)
Build a list of SyntaxCheckers read from the underlying storage for
a list of specified schema
|
java.util.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, getSchema, isRelaxed, isStrict, loadAttributeTypes, loadComparators, loadDitContentRules, loadDitStructureRules, loadMatchingRules, loadMatchingRuleUses, loadNameForms, loadNormalizers, loadObjectClasses, loadSyntaxCheckers, loadSyntaxes, removeSchema, setRelaxedprivate static final java.util.regex.Pattern SCHEMA_START_PATTERN
private static final org.slf4j.Logger LOG
private java.lang.String[] schemaObjectTypeRdns
private java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.List<Entry>>> scObjEntryMap
public SingleLdifSchemaLoader()
private void initializeSchemas(java.io.InputStream in)
throws java.lang.Exception
java.lang.Exceptionprivate void loadSchemaObject(java.lang.String schemaName,
LdifEntry ldifEntry)
throws java.lang.Exception
java.lang.Exceptionprivate java.util.List<Entry> loadSchemaObjects(java.lang.String schemaObjectType, Schema... schemas) throws LdapException, java.io.IOException
LdapExceptionjava.io.IOExceptionpublic java.util.List<Entry> loadAttributeTypes(Schema... schemas) throws LdapException, java.io.IOException
schemas - the schemas from which AttributeTypes are loadedLdapExceptionjava.io.IOExceptionpublic java.util.List<Entry> loadComparators(Schema... schemas) throws LdapException, java.io.IOException
schemas - the schemas from which Comparators are loadedLdapExceptionjava.io.IOExceptionpublic java.util.List<Entry> loadDitContentRules(Schema... schemas) throws LdapException, java.io.IOException
schemas - the schemas from which DitContentRules are loadedLdapExceptionjava.io.IOExceptionpublic java.util.List<Entry> loadDitStructureRules(Schema... schemas) throws LdapException, java.io.IOException
schemas - the schemas from which DitStructureRules are loadedLdapExceptionjava.io.IOExceptionpublic java.util.List<Entry> loadMatchingRules(Schema... schemas) throws LdapException, java.io.IOException
schemas - the schemas from which MatchingRules are loadedLdapExceptionjava.io.IOExceptionpublic java.util.List<Entry> loadMatchingRuleUses(Schema... schemas) throws LdapException, java.io.IOException
schemas - the schemas from which MatchingRuleUses are loadedLdapExceptionjava.io.IOExceptionpublic java.util.List<Entry> loadNameForms(Schema... schemas) throws LdapException, java.io.IOException
schemas - the schemas from which NameForms are loadedLdapExceptionjava.io.IOExceptionpublic java.util.List<Entry> loadNormalizers(Schema... schemas) throws LdapException, java.io.IOException
schemas - the schemas from which Normalizers are loadedLdapExceptionjava.io.IOExceptionpublic java.util.List<Entry> loadObjectClasses(Schema... schemas) throws LdapException, java.io.IOException
schemas - the schemas from which ObjectClasses are loadedLdapExceptionjava.io.IOExceptionpublic java.util.List<Entry> loadSyntaxes(Schema... schemas) throws LdapException, java.io.IOException
schemas - the schemas from which Syntaxes are loadedLdapExceptionjava.io.IOExceptionpublic java.util.List<Entry> loadSyntaxCheckers(Schema... schemas) throws LdapException, java.io.IOException
schemas - the schemas from which SyntaxCheckers are loadedLdapExceptionjava.io.IOException