|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NameComponentNormalizer
Normalizers of ldap name component attributes and their values.
Method Summary | |
---|---|
boolean |
isDefined(String id)
Checks to see if an attribute name/oid is defined. |
Object |
normalizeByName(String attributeName,
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 attributeName,
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 attributeOid,
byte[] value)
Normalizes an attribute's value given the OID of the attribute. |
Object |
normalizeByOid(String attributeOid,
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. |
Method Detail |
---|
boolean isDefined(String id)
id
- the name/oid of the attribute to see if it is defined
String normalizeName(String attributeName) throws NamingException
attributeName
- the name or OID of the attributeType
NamingException
- if the attributeName is not recognized as a valid aliasObject normalizeByName(String attributeName, String value) throws NamingException
attributeName
- the name of the attributevalue
- the value of the attribute to normalize
NamingException
- if there is a recognition problem or a syntax issueObject normalizeByName(String attributeName, byte[] value) throws NamingException
attributeName
- the name of the attributevalue
- the value of the attribute to normalize
NamingException
- if there is a recognition problem or a syntax issueObject normalizeByOid(String attributeOid, String value) throws NamingException
attributeOid
- the OID of the attributevalue
- the value of the attribute to normalize
NamingException
- if there is a recognition problem or a syntax issueObject normalizeByOid(String attributeOid, byte[] value) throws NamingException
attributeOid
- the OID of the attributevalue
- the value of the attribute to normalize
NamingException
- if there is a recognition problem or a syntax issue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |