org.apache.directory.server.schema.bootstrap
Class NameOrNumericIdNormalizer
java.lang.Object
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
|
Method Summary |
java.lang.String |
normalize(java.lang.String value)
|
org.apache.directory.shared.ldap.entry.Value<?> |
normalize(org.apache.directory.shared.ldap.entry.Value<?> value)
|
void |
setRegistries(Registries registries)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final NameOrNumericIdNormalizer INSTANCE
- A static instance of this normalizer
NameOrNumericIdNormalizer
public NameOrNumericIdNormalizer(OidRegistry registry)
NameOrNumericIdNormalizer
public NameOrNumericIdNormalizer()
normalize
public org.apache.directory.shared.ldap.entry.Value<?> normalize(org.apache.directory.shared.ldap.entry.Value<?> value)
throws javax.naming.NamingException
-
- Specified by:
normalize in interface org.apache.directory.shared.ldap.schema.Normalizer
- Throws:
javax.naming.NamingException
normalize
public java.lang.String normalize(java.lang.String 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 The Apache Software Foundation. All Rights Reserved.