|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.schema.DnNormalizer
A distinguished name normalizer that works with a schema or without.
Constructor Summary | |
DnNormalizer()
Creates a Dn Normalizer which normalizes distinguished names by performing a deep trim to lower case normalization on assertion values regardless of the attributeType of the name component. |
|
DnNormalizer(NameComponentNormalizer normalizer)
Creates a Dn Normalizer which uses a name component normalizer to dynamically normalize all name component assertion values based on attributeType. |
|
DnNormalizer(Normalizer normalizer)
Creates a Dn Normalizer which normalizes distinguished names by using the same Normalizer to to normalize assertion values regardless of the attributeType of the name component. |
Method Summary | |
java.lang.Object |
normalize(java.lang.Object value)
Normalizes the value if it is a Name or a String returning the String representation always. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DnNormalizer() throws javax.naming.NamingException
public DnNormalizer(Normalizer normalizer) throws javax.naming.NamingException
normalizer
- Normalizer to use for values regardless of attributeTypepublic DnNormalizer(NameComponentNormalizer normalizer) throws javax.naming.NamingException
normalizer
- the name component normalizer to useMethod Detail |
public java.lang.Object normalize(java.lang.Object value) throws javax.naming.NamingException
normalize
in interface Normalizer
value
- the value to normalize. It must *not* be null !
javax.naming.NamingException
- if an error results during normalizationNormalizer.normalize(java.lang.Object)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |