public class DeepTrimNormalizer extends Normalizer
serialVersionUID
Constructor and Description |
---|
DeepTrimNormalizer()
Creates a new instance of DeepTrimNormalizer when the Normalizer must be
instantiated before setting the OID.
|
DeepTrimNormalizer(String oid)
Creates a new instance of DeepTrimNormalizer with OID known.
|
Modifier and Type | Method and Description |
---|---|
String |
normalize(String value)
Gets the normalized value.
|
Value<?> |
normalize(Value<?> value)
Gets the normalized value.
|
equals, setSchemaManager, 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 DeepTrimNormalizer(String oid)
oid
- The MR OID to use with this Normalizerpublic DeepTrimNormalizer()
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 normalizationCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.