|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.ldap.schemaloader.SchemaEntityFactory
public class SchemaEntityFactory
Showing how it's done ...
| Constructor Summary | |
|---|---|
SchemaEntityFactory()
Instantiates a new schema entity factory. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SchemaEntityFactory()
| Method Detail |
|---|
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 entry
org.apache.directory.api.ldap.model.exception.LdapException
public 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 of
org.apache.directory.api.ldap.model.exception.LdapException - if anything fails during loading
public 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 of
Exception - If the creation has failed
public 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 of
Exception - If the creation has failed
public 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 of
org.apache.directory.api.ldap.model.exception.LdapException - if anything fails during loading
public 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 of
Exception - If the creation has failed
public 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 of
org.apache.directory.api.ldap.model.exception.LdapException - if anything fails during loading
public 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 of
org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException
org.apache.directory.api.ldap.model.exception.LdapUnwillingToPerformException
public 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 of
org.apache.directory.api.ldap.model.exception.LdapUnwillingToPerformException
org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException
public 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 of
org.apache.directory.api.ldap.model.exception.LdapException
public 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 of
org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException
org.apache.directory.api.ldap.model.exception.LdapUnwillingToPerformException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||