org.apache.directory.server.schema.bootstrap
Class NameOrNumericIdNormalizer

java.lang.Object
  extended by org.apache.directory.server.schema.bootstrap.NameOrNumericIdNormalizer
All Implemented Interfaces:
java.io.Serializable, org.apache.directory.shared.ldap.schema.Normalizer

public class NameOrNumericIdNormalizer
extends java.lang.Object
implements org.apache.directory.shared.ldap.schema.Normalizer

A name or numeric id normalizer. Needs an OID registry to operate properly. The OID registry is injected into this class after instantiation if a setRegistries(Registries) method is exposed.

Version:
$Rev$
Author:
Apache Directory Project
See Also:
Serialized Form

Constructor Summary
NameOrNumericIdNormalizer()
           
NameOrNumericIdNormalizer(OidRegistry registry)
           
 
Method Summary
 java.lang.Object normalize(java.lang.Object value)
           
 void setRegistries(Registries registries)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameOrNumericIdNormalizer

public NameOrNumericIdNormalizer(OidRegistry registry)

NameOrNumericIdNormalizer

public NameOrNumericIdNormalizer()
Method Detail

normalize

public java.lang.Object normalize(java.lang.Object value)
                           throws javax.naming.NamingException
Specified by:
normalize in interface org.apache.directory.shared.ldap.schema.Normalizer
Throws:
javax.naming.NamingException

setRegistries

public void setRegistries(Registries registries)


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.