|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.ldap.model.schema.normalizers.ConcreteNameComponentNormalizer
public class ConcreteNameComponentNormalizer
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.
| Constructor Summary | |
|---|---|
ConcreteNameComponentNormalizer(SchemaManager schemaManager)
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. |
|
| Method Summary | |
|---|---|
boolean |
isDefined(String id)
Checks to see if an attribute name/oid is defined. |
Object |
normalizeByName(String name,
byte[] value)
Normalizes an attribute's value given the name of the attribute - short names like 'cn' as well as 'commonName' should work here. |
Object |
normalizeByName(String name,
String value)
Normalizes an attribute's value given the name of the attribute - short names like 'cn' as well as 'commonName' should work here. |
Object |
normalizeByOid(String oid,
byte[] value)
Normalizes an attribute's value given the OID of the attribute. |
Object |
normalizeByOid(String oid,
String value)
Normalizes an attribute's value given the OID of the attribute. |
String |
normalizeName(String attributeName)
Normalizes the attribute name/alias to use the OID for it instead. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConcreteNameComponentNormalizer(SchemaManager schemaManager)
schemaManager - the schemaManager used to dynamically resolve Normalizers| Method Detail |
|---|
public Object normalizeByName(String name,
String value)
throws LdapException
normalizeByName in interface NameComponentNormalizername - the name of the attributevalue - the value of the attribute to normalize
LdapException - if there is a recognition problem or a syntax issue
public Object normalizeByName(String name,
byte[] value)
throws LdapException
normalizeByName in interface NameComponentNormalizername - the name of the attributevalue - the value of the attribute to normalize
LdapException - if there is a recognition problem or a syntax issue
public Object normalizeByOid(String oid,
String value)
throws LdapException
normalizeByOid in interface NameComponentNormalizeroid - the OID of the attributevalue - the value of the attribute to normalize
LdapException - if there is a recognition problem or a syntax issue
public Object normalizeByOid(String oid,
byte[] value)
throws LdapException
normalizeByOid in interface NameComponentNormalizeroid - the OID of the attributevalue - the value of the attribute to normalize
LdapException - if there is a recognition problem or a syntax issuepublic boolean isDefined(String id)
NameComponentNormalizer
isDefined in interface NameComponentNormalizerid - the name/oid of the attribute to see if it is defined
NameComponentNormalizer.isDefined(String)
public String normalizeName(String attributeName)
throws LdapException
NameComponentNormalizer
normalizeName in interface NameComponentNormalizerattributeName - the name or OID of the attributeType
LdapException - if the attributeName is not recognized as a valid alias
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||