org.apache.directory.api.ldap.model.schema.normalizers
Class NoOpNormalizer
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.NoOpNormalizer
- All Implemented Interfaces:
- Serializable, SchemaObject
public class NoOpNormalizer
- extends Normalizer
No op (pass through or do nothing) normalizer returning what its given.
- Author:
- Apache Directory Project
- See Also:
- Serialized Form
| Fields inherited from class org.apache.directory.api.ldap.model.schema.AbstractSchemaObject |
description, extensions, isEnabled, isObsolete, isReadOnly, locked, names, objectType, oid, schemaName, specification |
|
Constructor Summary |
NoOpNormalizer()
Default constructor for NoOpNormalizer used when we must set the OID
after instantiating the Normalizer. |
NoOpNormalizer(String oid)
Creates a new instance of NoOpNormalizer. |
|
Method Summary |
String |
normalize(String value)
Returns the value argument as-is without alterations all the time. |
Value<?> |
normalize(Value<?> value)
Returns the value argument as-is without alterations all the time. |
| Methods inherited from class org.apache.directory.api.ldap.model.schema.AbstractSchemaObject |
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 |
NoOpNormalizer
public NoOpNormalizer(String oid)
- Creates a new instance of NoOpNormalizer.
- Parameters:
oid - The MR OID to use with this Normalizer
NoOpNormalizer
public NoOpNormalizer()
- Default constructor for NoOpNormalizer used when we must set the OID
after instantiating the Normalizer.
normalize
public Value<?> normalize(Value<?> value)
- Returns the value argument as-is without alterations all the time.
- Specified by:
normalize in class Normalizer
- Parameters:
value - any value
- Returns:
- the value argument returned as-is
- See Also:
Normalizer.normalize(Value)
normalize
public String normalize(String value)
- Returns the value argument as-is without alterations all the time.
- Specified by:
normalize in class Normalizer
- Parameters:
value - any value
- Returns:
- the value argument returned as-is
- See Also:
Normalizer.normalize(String)
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.