org.apache.directory.shared.ldap.schema.normalizers
Class ObjectIdentifierNormalizer
java.lang.Object
org.apache.directory.shared.ldap.schema.AbstractSchemaObject
org.apache.directory.shared.ldap.schema.LoadableSchemaObject
org.apache.directory.shared.ldap.schema.Normalizer
org.apache.directory.shared.ldap.schema.normalizers.ObjectIdentifierNormalizer
- All Implemented Interfaces:
- java.io.Serializable, SchemaObject
public class ObjectIdentifierNormalizer
- extends Normalizer
A normalizer for the objectIdentifierMatch matching rule.
- Version:
- $Rev: 928945 $
- Author:
- Apache Directory Project
- See Also:
- Serialized Form
Fields inherited from class org.apache.directory.shared.ldap.schema.AbstractSchemaObject |
description, extensions, isEnabled, isObsolete, isReadOnly, locked, names, objectType, oid, schemaName, specification |
Method Summary |
java.lang.String |
normalize(java.lang.String value)
Gets the normalized value. |
Value<?> |
normalize(Value<?> value)
Gets the normalized value. |
Methods inherited from class org.apache.directory.shared.ldap.schema.AbstractSchemaObject |
addExtension, addName, addToRegistries, clear, compareOid, copy, getDescription, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hashCode, isDisabled, isEnabled, isObsolete, isReadOnly, lock, removeFromRegistries, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setReadOnly, setRegistries, setSchemaName, setSpecification |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- The serial UID
- See Also:
- Constant Field Values
ObjectIdentifierNormalizer
public ObjectIdentifierNormalizer()
- Creates a new instance of ObjectIdentifierNormalizer.
normalize
public Value<?> normalize(Value<?> value)
throws LdapException
- Gets the normalized value.
- Specified by:
normalize
in class Normalizer
- 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 java.lang.String normalize(java.lang.String value)
throws LdapException
- Gets the normalized value.
- Specified by:
normalize
in class Normalizer
- 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
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.