| Package | Description |
|---|---|
| org.apache.directory.api.ldap.model.filter | |
| org.apache.directory.api.ldap.model.schema |
Contains interfaces and base classes for representing the LDAP schema domain
model.
|
| org.apache.directory.api.ldap.model.schema.comparators | |
| org.apache.directory.api.ldap.model.schema.normalizers | |
| org.apache.directory.api.ldap.model.schema.registries |
| Modifier and Type | Method and Description |
|---|---|
Pattern |
SubstringNode.getRegex(Normalizer normalizer)
Gets the compiled regular expression for the substring expression.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
NormalizerMappingResolver<E extends Normalizer>
A class is used to resolve the normalizer mapping hash used for normalization.
|
| Modifier and Type | Field and Description |
|---|---|
protected Normalizer |
LdapComparator.normalizer
A default normalizer
|
protected Normalizer |
MatchingRule.normalizer
The associated Normalizer
|
| Modifier and Type | Method and Description |
|---|---|
Normalizer |
LdapComparator.getNormalizer() |
Normalizer |
MatchingRule.getNormalizer()
Gets the Normalizer enabling the use of this MatchingRule for EQUALITY
matching and indexing.
|
Normalizer |
SchemaManager.lookupNormalizerRegistry(String oid)
Lookup for a Normalizer in the Normalizer registry
|
| Modifier and Type | Method and Description |
|---|---|
Entry |
AttributesFactory.convert(String oid,
Normalizer normalizer,
Schema schema,
SchemaManager schemaManager)
Convert a Normalizer instance into an Entry
|
static String |
DescriptionUtils.getDescription(Normalizer normalizer)
Generates the NormalizerDescription for a Normalizer.
|
void |
MatchingRule.setNormalizer(Normalizer normalizer)
Sets the Normalizer
|
| Constructor and Description |
|---|
NormalizingComparator(String oid,
Normalizer normalizer,
LdapComparator<String> comparator)
A comparator which normalizes a value first before comparing them.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanNormalizer
Normalizer for boolean values.
|
class |
DeepTrimNormalizer
Normalizer which trims down whitespace replacing multiple whitespace
characters on the edges and within the string with a single space character
thereby preserving tokenization order.
|
class |
DeepTrimToLowerNormalizer
Normalizer which trims down whitespace replacing multiple whitespace
characters on the edges and within the string with a single space character
thereby preserving tokenization order - while doing all this in the same pass
it lower cases all characters.
|
class |
DnNormalizer
Normalizer a Dn
|
class |
GeneralizedTimeNormalizer
Normalizer which normalize a time following those rules :
if minutes are ommited, then they are replaced by 00
if seconds are ommited, then they are replaced by 00
if fraction is 0 or omitted, it is replaced by 000
the time is supposed to be expressed in Zulu (GMT), so
increment is applied to hours/days/yeah, and a Z is added at the end
Note : there is no Substring for this type of values.
|
class |
NameOrNumericIdNormalizer
A name or numeric id normalizer.
|
class |
NoOpNormalizer
No op (pass through or do nothing) normalizer returning what its given.
|
class |
NumericNormalizer
Normalize Numeric Strings
|
class |
ObjectIdentifierNormalizer
A normalizer for the objectIdentifierMatch matching rule.
|
class |
RegexNormalizer
A Normalizer that uses Perl5 based regular expressions to normalize values.
|
class |
TelephoneNumberNormalizer
Normalize Telephone Number Strings.
|
class |
UniqueMemberNormalizer
A normalizer for UniqueMember.
|
| Modifier and Type | Field and Description |
|---|---|
private Normalizer |
OidNormalizer.normalizer
The normalizer to be used with this OID
|
| Modifier and Type | Method and Description |
|---|---|
Normalizer |
OidNormalizer.getNormalizer()
Get the normalizer
|
private Normalizer |
ConcreteNameComponentNormalizer.lookup(String id)
Looks up the Normalizer to use for a name component using the attributeId
for the name component.
|
| Constructor and Description |
|---|
OidNormalizer(String attributeTypeOid,
Normalizer normalizer)
A constructor which accept two parameters
|
| Modifier and Type | Method and Description |
|---|---|
Normalizer |
ImmutableNormalizerRegistry.get(String oid)
Gets the SchemaObject associated with a given OID.
|
Normalizer |
ImmutableNormalizerRegistry.lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.
|
Normalizer |
ImmutableNormalizerRegistry.unregister(Normalizer schemaObject)
Removes the SchemaObject registered with this registry.
|
Normalizer |
ImmutableNormalizerRegistry.unregister(String numericOid)
Removes the Normalizer registered with this registry, using its
numeric OID.
|
Normalizer |
NormalizerRegistry.unregister(String numericOid)
Removes the Normalizer registered with this registry, using its
numeric OID.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<Normalizer> |
ImmutableNormalizerRegistry.iterator()
Gets an iterator over the registered schema objects in the registry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ImmutableNormalizerRegistry.register(Normalizer normalizer)
Registers a new Normalizer with this registry.
|
void |
NormalizerRegistry.register(Normalizer normalizer)
Registers a new Normalizer with this registry.
|
private void |
Registries.resolve(Normalizer normalizer)
Attempts to resolve the Normalizer
|
Normalizer |
ImmutableNormalizerRegistry.unregister(Normalizer schemaObject)
Removes the SchemaObject registered with this registry.
|
Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.