org.apache.directory.shared.ldap.schema.loader.ldif
Class SchemaEntityFactory

java.lang.Object
  extended by org.apache.directory.shared.ldap.schema.loader.ldif.SchemaEntityFactory
All Implemented Interfaces:
EntityFactory

public class SchemaEntityFactory
extends java.lang.Object
implements EntityFactory

Showing how it's done ...

Version:
$Rev$
Author:
Apache Directory Project

Constructor Summary
SchemaEntityFactory()
           
 
Method Summary
 AttributeType getAttributeType(SchemaManager schemaManager, Entry entry, Registries targetRegistries, java.lang.String schemaName)
          
 LdapComparator<?> getLdapComparator(SchemaManager schemaManager, Entry entry, Registries targetRegistries, java.lang.String schemaName)
          
 LdapComparator<?> getLdapComparator(SchemaManager schemaManager, LdapComparatorDescription comparatorDescription, Registries targetRegistries, java.lang.String schemaName)
          
 MatchingRule getMatchingRule(SchemaManager schemaManager, Entry entry, Registries targetRegistries, java.lang.String schemaName)
          
 Normalizer getNormalizer(SchemaManager schemaManager, Entry entry, Registries targetRegistries, java.lang.String schemaName)
          
 Normalizer getNormalizer(SchemaManager schemaManager, NormalizerDescription normalizerDescription, Registries targetRegistries, java.lang.String schemaName)
          
 ObjectClass getObjectClass(SchemaManager schemaManager, Entry entry, Registries targetRegistries, java.lang.String schemaName)
          
 Schema getSchema(Entry entry)
          
 LdapSyntax getSyntax(SchemaManager schemaManager, Entry entry, Registries targetRegistries, java.lang.String schemaName)
          
 SyntaxChecker getSyntaxChecker(SchemaManager schemaManager, Entry entry, Registries targetRegistries, java.lang.String schemaName)
          
 SyntaxChecker getSyntaxChecker(SchemaManager schemaManager, SyntaxCheckerDescription syntaxCheckerDescription, Registries targetRegistries, java.lang.String schemaName)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaEntityFactory

public SchemaEntityFactory()
                    throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getSchema

public Schema getSchema(Entry entry)
                 throws java.lang.Exception

Specified by:
getSchema in interface EntityFactory
Throws:
java.lang.Exception

getSyntaxChecker

public SyntaxChecker getSyntaxChecker(SchemaManager schemaManager,
                                      Entry entry,
                                      Registries targetRegistries,
                                      java.lang.String schemaName)
                               throws java.lang.Exception

Specified by:
getSyntaxChecker in interface EntityFactory
Throws:
java.lang.Exception

getSyntaxChecker

public SyntaxChecker getSyntaxChecker(SchemaManager schemaManager,
                                      SyntaxCheckerDescription syntaxCheckerDescription,
                                      Registries targetRegistries,
                                      java.lang.String schemaName)
                               throws java.lang.Exception

Specified by:
getSyntaxChecker in interface EntityFactory
Throws:
java.lang.Exception

getLdapComparator

public LdapComparator<?> getLdapComparator(SchemaManager schemaManager,
                                           LdapComparatorDescription comparatorDescription,
                                           Registries targetRegistries,
                                           java.lang.String schemaName)
                                    throws java.lang.Exception

Specified by:
getLdapComparator in interface EntityFactory
Throws:
java.lang.Exception

getLdapComparator

public LdapComparator<?> getLdapComparator(SchemaManager schemaManager,
                                           Entry entry,
                                           Registries targetRegistries,
                                           java.lang.String schemaName)
                                    throws java.lang.Exception

Specified by:
getLdapComparator in interface EntityFactory
Throws:
java.lang.Exception

getNormalizer

public Normalizer getNormalizer(SchemaManager schemaManager,
                                NormalizerDescription normalizerDescription,
                                Registries targetRegistries,
                                java.lang.String schemaName)
                         throws java.lang.Exception

Specified by:
getNormalizer in interface EntityFactory
Throws:
java.lang.Exception

getNormalizer

public Normalizer getNormalizer(SchemaManager schemaManager,
                                Entry entry,
                                Registries targetRegistries,
                                java.lang.String schemaName)
                         throws java.lang.Exception

Specified by:
getNormalizer in interface EntityFactory
Throws:
java.lang.Exception

getSyntax

public LdapSyntax getSyntax(SchemaManager schemaManager,
                            Entry entry,
                            Registries targetRegistries,
                            java.lang.String schemaName)
                     throws LdapInvalidAttributeValueException,
                            LdapUnwillingToPerformException

Specified by:
getSyntax in interface EntityFactory
Throws:
LdapInvalidAttributeValueException
LdapUnwillingToPerformException

getMatchingRule

public MatchingRule getMatchingRule(SchemaManager schemaManager,
                                    Entry entry,
                                    Registries targetRegistries,
                                    java.lang.String schemaName)
                             throws LdapUnwillingToPerformException,
                                    LdapInvalidAttributeValueException

Specified by:
getMatchingRule in interface EntityFactory
Throws:
LdapUnwillingToPerformException
LdapInvalidAttributeValueException

getObjectClass

public ObjectClass getObjectClass(SchemaManager schemaManager,
                                  Entry entry,
                                  Registries targetRegistries,
                                  java.lang.String schemaName)
                           throws java.lang.Exception

Specified by:
getObjectClass in interface EntityFactory
Throws:
java.lang.Exception

getAttributeType

public AttributeType getAttributeType(SchemaManager schemaManager,
                                      Entry entry,
                                      Registries targetRegistries,
                                      java.lang.String schemaName)
                               throws LdapInvalidAttributeValueException,
                                      LdapUnwillingToPerformException

Specified by:
getAttributeType in interface EntityFactory
Throws:
LdapInvalidAttributeValueException
LdapUnwillingToPerformException


Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.