|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.schema.registries.AbstractSchemaLoader
org.apache.directory.shared.ldap.schema.loader.ldif.JarLdifSchemaLoader
public class JarLdifSchemaLoader
Loads schema data from LDIF files containing entries representing schema objects, using the meta schema format. This class is used only for tests.
Field Summary |
---|
Fields inherited from class org.apache.directory.shared.ldap.schema.registries.AbstractSchemaLoader |
---|
listener, schemaMap |
Constructor Summary | |
---|---|
JarLdifSchemaLoader()
Creates a new LDIF based SchemaLoader. |
Method Summary | |
---|---|
java.util.List<Entry> |
loadAttributeTypes(Schema... schemas)
Loads a set of schemas. |
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. |
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 |
Methods inherited from class org.apache.directory.shared.ldap.schema.registries.AbstractSchemaLoader |
---|
addSchema, getAllEnabled, getAllSchemas, getDao, getSchema, getSchema, loadAttributeTypes, loadComparators, loadDitContentRules, loadDitStructureRules, loadMatchingRules, loadMatchingRuleUses, loadNameForms, loadNormalizers, loadObjectClasses, loadSyntaxCheckers, loadSyntaxes, notifyListenerOrRegistries, removeSchema, setListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JarLdifSchemaLoader() throws java.lang.Exception
java.lang.Exception
- if the base directory does not exist or does not
a valid schema.ldif fileMethod Detail |
---|
public java.util.List<Entry> loadComparators(Schema... schemas) throws java.lang.Exception
schemas
- the schemas from which Comparators are loaded
java.lang.Exception
- if there are failures accessing Comparator informationpublic java.util.List<Entry> loadSyntaxCheckers(Schema... schemas) throws java.lang.Exception
schemas
- the schemas from which SyntaxCheckers are loaded
java.lang.Exception
- if there are failures accessing SyntaxChecker informationpublic java.util.List<Entry> loadNormalizers(Schema... schemas) throws java.lang.Exception
schemas
- the schemas from which Normalizers are loaded
java.lang.Exception
- if there are failures accessing Normalizer informationpublic java.util.List<Entry> loadMatchingRules(Schema... schemas) throws java.lang.Exception
schemas
- the schemas from which MatchingRules are loaded
java.lang.Exception
- if there are failures accessing MatchingRule informationpublic java.util.List<Entry> loadSyntaxes(Schema... schemas) throws java.lang.Exception
schemas
- the schemas from which Syntaxes are loaded
java.lang.Exception
- if there are failures accessing Syntax informationpublic java.util.List<Entry> loadAttributeTypes(Schema... schemas) throws java.lang.Exception
schemas
- the set of schemas to load
java.lang.Exception
- if any kind of problems are encountered during the load
Listpublic java.util.List<Entry> loadMatchingRuleUses(Schema... schemas) throws java.lang.Exception
schemas
- the schemas from which MatchingRuleUses are loaded
java.lang.Exception
- if there are failures accessing MatchingRuleUse informationpublic java.util.List<Entry> loadNameForms(Schema... schemas) throws java.lang.Exception
schemas
- the schemas from which NameForms are loaded
java.lang.Exception
- if there are failures accessing NameForm informationpublic java.util.List<Entry> loadDitContentRules(Schema... schemas) throws java.lang.Exception
schemas
- the schemas from which DitContentRules are loaded
java.lang.Exception
- if there are failures accessing DitContentRule informationpublic java.util.List<Entry> loadDitStructureRules(Schema... schemas) throws java.lang.Exception
schemas
- the schemas from which DitStructureRules are loaded
java.lang.Exception
- if there are failures accessing DitStructureRule informationpublic java.util.List<Entry> loadObjectClasses(Schema... schemas) throws java.lang.Exception
schemas
- the schemas from which ObjectClasses are loaded
java.lang.Exception
- if there are failures accessing ObjectClass information
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |