public class NameOrNumericIdNormalizer extends Normalizer
Modifier and Type | Field and Description |
---|---|
static NameOrNumericIdNormalizer |
INSTANCE
A static instance of this normalizer
|
serialVersionUID
Constructor and Description |
---|
NameOrNumericIdNormalizer()
Creates a new instance of GeneralizedTimeNormalizer.
|
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.
|
void |
setSchemaManager(SchemaManager schemaManager)
Store the SchemaManager in this instance.
|
equals, 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 static final NameOrNumericIdNormalizer INSTANCE
public NameOrNumericIdNormalizer()
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 class Normalizer
value
- the substring value to normalize. It must *not* be null !assertionType
- The type of assertionLdapException
- if an error results during normalizationpublic void setSchemaManager(SchemaManager schemaManager)
setSchemaManager
in class Normalizer
schemaManager
- the schemaManager to storeCopyright © 2003–2019 The Apache Software Foundation. All rights reserved.