public class DnNormalizer extends Normalizer
serialVersionUID
Constructor and Description |
---|
DnNormalizer()
Empty constructor
|
Modifier and Type | Method and Description |
---|---|
String |
normalize(Dn value)
Normalize a Dn
|
String |
normalize(String value)
Gets the normalized value.
|
Value<?> |
normalize(Value<?> value)
Gets the normalized value.
|
void |
setSchemaManager(SchemaManager schemaManager)
Store the SchemaManager in this instance.
|
equals, toString
copy, getBytecode, getFqcn, isValid, setBytecode, setFqcn
addExtension, addExtension, addName, clear, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, hashCode, isDisabled, isEnabled, isObsolete, isReadOnly, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setReadOnly, setSchemaName, setSpecification, unlock
public DnNormalizer()
public Value<?> normalize(Value<?> value) throws LdapException
normalize
in class Normalizer
value
- the value to normalize. It must *not* be null !LdapException
- if an error results during normalizationpublic String normalize(String value) throws LdapException
normalize
in class Normalizer
value
- the value to normalize. It must *not* be null !LdapException
- if an error results during normalizationpublic String normalize(Dn value) throws LdapException
value
- The Dn to normalizeLdapException
- If the DN is invalidpublic void setSchemaManager(SchemaManager schemaManager)
setSchemaManager
in class Normalizer
schemaManager
- the schemaManager to storeCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.