org.apache.directory.server.core.schema
Class ConcreteNameComponentNormalizer
java.lang.Object
org.apache.directory.server.core.schema.ConcreteNameComponentNormalizer
public class ConcreteNameComponentNormalizer
- extends java.lang.Object
A DN Name component Normalizer which uses the bootstrap registries to find
the appropriate normalizer for the attribute of the name component with which
to normalize the name component value.
- Version:
- $Rev: 437314 $
- Author:
- Apache Directory Project
Method Summary |
boolean |
isDefined(java.lang.String id)
|
java.lang.Object |
normalizeByName(java.lang.String name,
byte[] value)
|
java.lang.Object |
normalizeByName(java.lang.String name,
java.lang.String value)
|
java.lang.Object |
normalizeByOid(java.lang.String oid,
byte[] value)
|
java.lang.Object |
normalizeByOid(java.lang.String oid,
java.lang.String value)
|
java.lang.String |
normalizeName(java.lang.String attributeName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConcreteNameComponentNormalizer
public ConcreteNameComponentNormalizer(AttributeTypeRegistry registry,
OidRegistry oidRegistry)
- Creates a DN Name component Normalizer which uses the bootstrap
registries to find the appropriate normalizer for the attribute of the
name component with which to normalize the name component value.
- Parameters:
registry
- the at registry used to dynamically resolve Normalizers
normalizeByName
public java.lang.Object normalizeByName(java.lang.String name,
java.lang.String value)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
- See Also:
NameComponentNormalizer#normalizeByName(String, String)
normalizeByName
public java.lang.Object normalizeByName(java.lang.String name,
byte[] value)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
- See Also:
NameComponentNormalizer#normalizeByName(String, String)
normalizeByOid
public java.lang.Object normalizeByOid(java.lang.String oid,
java.lang.String value)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
- See Also:
NameComponentNormalizer#normalizeByOid(String, String)
normalizeByOid
public java.lang.Object normalizeByOid(java.lang.String oid,
byte[] value)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
- See Also:
NameComponentNormalizer#normalizeByOid(String, String)
isDefined
public boolean isDefined(java.lang.String id)
- See Also:
NameComponentNormalizer#isDefined(String)
normalizeName
public java.lang.String normalizeName(java.lang.String attributeName)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException