public class NumericNormalizer extends Normalizer implements PreparedNormalizer
serialVersionUID
Constructor and Description |
---|
NumericNormalizer()
Creates a new instance of NumericNormalizer.
|
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.
|
Value |
normalize(Value value)
Normalize a Value
|
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 NumericNormalizer()
public Value normalize(Value value) throws LdapException
value
- The value to normalizeLdapException
- If teh value cannot be normalized or is invalidpublic 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–2019 The Apache Software Foundation. All rights reserved.