Class ObjectIdentifierNormalizer
java.lang.Object
org.apache.directory.api.ldap.model.schema.AbstractSchemaObject
org.apache.directory.api.ldap.model.schema.LoadableSchemaObject
org.apache.directory.api.ldap.model.schema.Normalizer
org.apache.directory.api.ldap.model.schema.normalizers.ObjectIdentifierNormalizer
- All Implemented Interfaces:
Serializable, SchemaObject
A normalizer for the objectIdentifierMatch matching rule.
- Author:
- Apache Directory Project
- See Also:
-
Field Summary
Fields inherited from class Normalizer
serialVersionUIDFields inherited from class AbstractSchemaObject
description, extensions, h, isEnabled, isObsolete, locked, names, objectType, oid, schemaName, specification -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of ObjectIdentifierNormalizer. -
Method Summary
Modifier and TypeMethodDescriptionGets the normalized value of AssertionValues.normalize(String value, PrepareString.AssertionType assertionType) Gets the normalized value of a substring assertion.voidsetSchemaManager(SchemaManager schemaManager) Store the SchemaManager in this instance.Methods inherited from class Normalizer
equals, toStringMethods inherited from class LoadableSchemaObject
copy, getBytecode, getFqcn, hashCode, isValid, setBytecode, setFqcnMethods inherited from class AbstractSchemaObject
addExtension, addExtension, addName, clear, compareOid, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, isDisabled, isEnabled, isObsolete, lock, rehash, rehashBase, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setSchemaName, setSpecification, unlock
-
Constructor Details
-
ObjectIdentifierNormalizer
public ObjectIdentifierNormalizer()Creates a new instance of ObjectIdentifierNormalizer.
-
-
Method Details
-
setSchemaManager
Store the SchemaManager in this instance. It may be necessary for some normalizer which needs to have access to the oidNormalizer Map.- Overrides:
setSchemaManagerin classNormalizer- Parameters:
schemaManager- the schemaManager to store
-
normalize
Gets the normalized value of AssertionValues.- Specified by:
normalizein classNormalizer- Parameters:
value- the value to normalize. It must *not* be null !- Returns:
- the normalized form for a value
- Throws:
LdapException- if an error results during normalization
-
normalize
public String normalize(String value, PrepareString.AssertionType assertionType) throws LdapException Gets the normalized value of a substring assertion.- Specified by:
normalizein classNormalizer- Parameters:
value- the substring value to normalize. It must *not* be null !assertionType- The type of assertion- Returns:
- the normalized form for a value
- Throws:
LdapException- if an error results during normalization
-