public class DeepTrimNormalizer extends Normalizer implements PreparedNormalizer
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 of AssertionValues.
|
String |
normalize(String value,
PrepareString.AssertionType assertionType)
Gets the normalized value of a substring assertion.
|
equals, setSchemaManager, toString
copy, getBytecode, getFqcn, hashCode, isValid, setBytecode, setFqcn
addExtension, addExtension, addName, clear, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, isDisabled, isEnabled, isObsolete, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setSchemaName, setSpecification, unlock
public DeepTrimNormalizer(String oid)
oid
- The MR OID to use with this Normalizerpublic DeepTrimNormalizer()
public 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(String value, PrepareString.AssertionType assertionType) throws LdapException
normalize
in interface PreparedNormalizer
normalize
in class Normalizer
value
- the substring value to normalize. It must *not* be null !assertionType
- The type of assertionLdapException
- if an error results during normalizationCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.