public class DeepTrimNormalizer extends Normalizer
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID
The serial UID
|
description, extensions, isEnabled, isObsolete, isReadOnly, locked, names, objectType, oid, schemaName, specification
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, registerOid, setBytecode, setFqcn
addExtension, addName, addToRegistries, clear, compareOid, copy, getDescription, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hashCode, isDisabled, isEnabled, isObsolete, isReadOnly, lock, removeFromRegistries, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setReadOnly, setRegistries, setSchemaName, setSpecification
public static final long serialVersionUID
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–2014 The Apache Software Foundation. All rights reserved.