public class SchemaEntityFactory extends Object implements EntityFactory
| Constructor and Description |
|---|
SchemaEntityFactory()
Instantiates a new schema entity factory.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.directory.api.ldap.model.schema.AttributeType |
getAttributeType(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.api.ldap.model.entry.Entry entry,
org.apache.directory.api.ldap.model.schema.registries.Registries targetRegistries,
String schemaName)
Construct an AttributeType from an entry representing an AttributeType.
|
org.apache.directory.api.ldap.model.schema.LdapComparator<?> |
getLdapComparator(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.api.ldap.model.entry.Entry entry,
org.apache.directory.api.ldap.model.schema.registries.Registries targetRegistries,
String schemaName)
Retrieve and load a Comparator class from the DIT.
|
org.apache.directory.api.ldap.model.schema.LdapComparator<?> |
getLdapComparator(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.api.ldap.model.schema.parsers.LdapComparatorDescription comparatorDescription,
org.apache.directory.api.ldap.model.schema.registries.Registries targetRegistries,
String schemaName)
Construct a LdapComparator from a description of a comparator.
|
org.apache.directory.api.ldap.model.schema.MatchingRule |
getMatchingRule(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.api.ldap.model.entry.Entry entry,
org.apache.directory.api.ldap.model.schema.registries.Registries targetRegistries,
String schemaName)
Construct an MatchingRule from an entry get from the Dit
|
org.apache.directory.api.ldap.model.schema.Normalizer |
getNormalizer(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.api.ldap.model.entry.Entry entry,
org.apache.directory.api.ldap.model.schema.registries.Registries targetRegistries,
String schemaName)
Retrieve and load a Normalizer class from the DIT.
|
org.apache.directory.api.ldap.model.schema.Normalizer |
getNormalizer(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.api.ldap.model.schema.parsers.NormalizerDescription normalizerDescription,
org.apache.directory.api.ldap.model.schema.registries.Registries targetRegistries,
String schemaName)
Create a new instance of a Normalizer
|
org.apache.directory.api.ldap.model.schema.ObjectClass |
getObjectClass(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.api.ldap.model.entry.Entry entry,
org.apache.directory.api.ldap.model.schema.registries.Registries targetRegistries,
String schemaName) |
org.apache.directory.api.ldap.model.schema.registries.Schema |
getSchema(org.apache.directory.api.ldap.model.entry.Entry entry)
Return an instance of the Schema associated to the entry
|
org.apache.directory.api.ldap.model.schema.LdapSyntax |
getSyntax(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.api.ldap.model.entry.Entry entry,
org.apache.directory.api.ldap.model.schema.registries.Registries targetRegistries,
String schemaName) |
org.apache.directory.api.ldap.model.schema.SyntaxChecker |
getSyntaxChecker(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.api.ldap.model.entry.Entry entry,
org.apache.directory.api.ldap.model.schema.registries.Registries targetRegistries,
String schemaName)
Retrieve and load a syntaxChecker class from the DIT.
|
org.apache.directory.api.ldap.model.schema.SyntaxChecker |
getSyntaxChecker(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.api.ldap.model.schema.parsers.SyntaxCheckerDescription syntaxCheckerDescription,
org.apache.directory.api.ldap.model.schema.registries.Registries targetRegistries,
String schemaName)
Create a new instance of a SyntaxChecker
|
public SchemaEntityFactory()
public org.apache.directory.api.ldap.model.schema.registries.Schema getSchema(org.apache.directory.api.ldap.model.entry.Entry entry)
throws org.apache.directory.api.ldap.model.exception.LdapException
getSchema in interface EntityFactoryentry - The Schema entryorg.apache.directory.api.ldap.model.exception.LdapExceptionpublic org.apache.directory.api.ldap.model.schema.SyntaxChecker getSyntaxChecker(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.api.ldap.model.entry.Entry entry,
org.apache.directory.api.ldap.model.schema.registries.Registries targetRegistries,
String schemaName)
throws org.apache.directory.api.ldap.model.exception.LdapException
getSyntaxChecker in interface EntityFactoryschemaManager - The Schema Managerentry - The entry containing all the informations to build a SyntaxCheckertargetRegistries - The registries containing all the enabled SchemaObjectsschemaName - The schema this SchemaObject will be part oforg.apache.directory.api.ldap.model.exception.LdapException - if anything fails during loadingpublic org.apache.directory.api.ldap.model.schema.SyntaxChecker getSyntaxChecker(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.api.ldap.model.schema.parsers.SyntaxCheckerDescription syntaxCheckerDescription,
org.apache.directory.api.ldap.model.schema.registries.Registries targetRegistries,
String schemaName)
throws Exception
getSyntaxChecker in interface EntityFactoryschemaManager - The Schema ManagersyntaxCheckerDescription - The SyntaxChecker description objecttargetRegistries - The registries containing all the enabled SchemaObjectsschemaName - The schema this SchemaObject will be part ofException - If the creation has failedpublic org.apache.directory.api.ldap.model.schema.LdapComparator<?> getLdapComparator(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.api.ldap.model.schema.parsers.LdapComparatorDescription comparatorDescription,
org.apache.directory.api.ldap.model.schema.registries.Registries targetRegistries,
String schemaName)
throws Exception
getLdapComparator in interface EntityFactoryschemaManager - The Schema ManagercomparatorDescription - The LdapComparator description objecttargetRegistries - The registries containing all the enabled SchemaObjectsschemaName - The schema this SchemaObject will be part ofException - If the creation has failedpublic org.apache.directory.api.ldap.model.schema.LdapComparator<?> getLdapComparator(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.api.ldap.model.entry.Entry entry,
org.apache.directory.api.ldap.model.schema.registries.Registries targetRegistries,
String schemaName)
throws org.apache.directory.api.ldap.model.exception.LdapException
getLdapComparator in interface EntityFactoryschemaManager - The Schema Managerentry - The entry containing all the informations to build a LdapComparatortargetRegistries - The registries containing all the enabled SchemaObjectsschemaName - The schema this SchemaObject will be part oforg.apache.directory.api.ldap.model.exception.LdapException - if anything fails during loadingpublic org.apache.directory.api.ldap.model.schema.Normalizer getNormalizer(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.api.ldap.model.schema.parsers.NormalizerDescription normalizerDescription,
org.apache.directory.api.ldap.model.schema.registries.Registries targetRegistries,
String schemaName)
throws Exception
getNormalizer in interface EntityFactoryschemaManager - The Schema ManagernormalizerDescription - The Normalizer description objecttargetRegistries - The registries containing all the enabled SchemaObjectsschemaName - The schema this SchemaObject will be part ofException - If the creation has failedpublic org.apache.directory.api.ldap.model.schema.Normalizer getNormalizer(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.api.ldap.model.entry.Entry entry,
org.apache.directory.api.ldap.model.schema.registries.Registries targetRegistries,
String schemaName)
throws org.apache.directory.api.ldap.model.exception.LdapException
getNormalizer in interface EntityFactoryschemaManager - The Schema Managerentry - The entry containing all the informations to build a NormalizertargetRegistries - The registries containing all the enabled SchemaObjectsschemaName - The schema this SchemaObject will be part oforg.apache.directory.api.ldap.model.exception.LdapException - if anything fails during loadingpublic org.apache.directory.api.ldap.model.schema.LdapSyntax getSyntax(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.api.ldap.model.entry.Entry entry,
org.apache.directory.api.ldap.model.schema.registries.Registries targetRegistries,
String schemaName)
throws org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException,
org.apache.directory.api.ldap.model.exception.LdapUnwillingToPerformException
getSyntax in interface EntityFactoryschemaManager - The Schema Managerentry - The entry containing all the informations to build a LdapSyntaxtargetRegistries - The registries containing all the enabled SchemaObjectsschemaName - The schema this SchemaObject will be part oforg.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueExceptionorg.apache.directory.api.ldap.model.exception.LdapUnwillingToPerformExceptionpublic org.apache.directory.api.ldap.model.schema.MatchingRule getMatchingRule(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.api.ldap.model.entry.Entry entry,
org.apache.directory.api.ldap.model.schema.registries.Registries targetRegistries,
String schemaName)
throws org.apache.directory.api.ldap.model.exception.LdapUnwillingToPerformException,
org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException
getMatchingRule in interface EntityFactoryschemaManager - The Schema Managerentry - The entry containing all the informations to build a MatchingRuletargetRegistries - The registries containing all the enabled SchemaObjectsschemaName - The schema this SchemaObject will be part oforg.apache.directory.api.ldap.model.exception.LdapUnwillingToPerformExceptionorg.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueExceptionpublic org.apache.directory.api.ldap.model.schema.ObjectClass getObjectClass(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.api.ldap.model.entry.Entry entry,
org.apache.directory.api.ldap.model.schema.registries.Registries targetRegistries,
String schemaName)
throws org.apache.directory.api.ldap.model.exception.LdapException
getObjectClass in interface EntityFactoryschemaManager - The Schema Managerentry - The entry containing all the informations to build an ObjectClasstargetRegistries - The registries containing all the enabled SchemaObjectsschemaName - The schema this SchemaObject will be part oforg.apache.directory.api.ldap.model.exception.LdapExceptionpublic org.apache.directory.api.ldap.model.schema.AttributeType getAttributeType(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
org.apache.directory.api.ldap.model.entry.Entry entry,
org.apache.directory.api.ldap.model.schema.registries.Registries targetRegistries,
String schemaName)
throws org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException,
org.apache.directory.api.ldap.model.exception.LdapUnwillingToPerformException
getAttributeType in interface EntityFactoryschemaManager - The Schema Managerentry - The entry containing all the informations to build an AttributeTypetargetRegistries - The registries containing all the enabled SchemaObjectsschemaName - The schema this SchemaObject will be part oforg.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueExceptionorg.apache.directory.api.ldap.model.exception.LdapUnwillingToPerformExceptionCopyright © 2003–2015 The Apache Software Foundation. All rights reserved.