public class NameOrNumericIdNormalizer extends Normalizer
Modifier and Type | Field and Description |
---|---|
static NameOrNumericIdNormalizer |
INSTANCE
A static instance of this normalizer
|
serialVersionUID
description, extensions, isEnabled, isObsolete, isReadOnly, locked, names, objectType, oid, schemaName, specification
Constructor and Description |
---|
NameOrNumericIdNormalizer()
Creates a new instance of GeneralizedTimeNormalizer.
|
Modifier and Type | Method and Description |
---|---|
String |
normalize(String value)
Gets the normalized value.
|
Value<?> |
normalize(Value<?> value)
Gets the normalized value.
|
void |
setSchemaManager(SchemaManager schemaManager)
Store the SchemaManager in this instance.
|
equals, toString
copy, getBytecode, getFqcn, isValid, setBytecode, setFqcn
addExtension, addExtension, addName, clear, compareOid, copy, getDescription, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hashCode, isDisabled, isEnabled, isObsolete, isReadOnly, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setReadOnly, setSchemaName, setSpecification, unlock
public static final NameOrNumericIdNormalizer INSTANCE
public NameOrNumericIdNormalizer()
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 normalizationpublic void setSchemaManager(SchemaManager schemaManager)
setSchemaManager
in class Normalizer
schemaManager
- the schemaManager to storeCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.