org.apache.directory.shared.ldap.schema.normalizers
Class NoOpNormalizer

java.lang.Object
  extended by org.apache.directory.shared.ldap.schema.normalizers.NoOpNormalizer
All Implemented Interfaces:
java.io.Serializable, Normalizer

public class NoOpNormalizer
extends java.lang.Object
implements Normalizer, java.io.Serializable

No op (pass through or do nothing) normalizer returning what its given.

Version:
$Rev: 798550 $
Author:
Apache Directory Project
See Also:
Serialized Form

Field Summary
static NoOpNormalizer INSTANCE
          A static instance of this normalizer
 
Constructor Summary
NoOpNormalizer()
           
 
Method Summary
 java.lang.String normalize(java.lang.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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final NoOpNormalizer INSTANCE
A static instance of this normalizer

Constructor Detail

NoOpNormalizer

public NoOpNormalizer()
Method Detail

normalize

public Value<?> normalize(Value<?> value)
Returns the value argument as-is without alterations all the time.

Specified by:
normalize in interface Normalizer
Parameters:
value - any value
Returns:
the value argument returned as-is
See Also:
org.apache.directory.shared.ldap.schema.Normalizer#normalize(java.lang.Object)

normalize

public java.lang.String normalize(java.lang.String value)
Returns the value argument as-is without alterations all the time.

Specified by:
normalize in interface Normalizer
Parameters:
value - any value
Returns:
the value argument returned as-is
See Also:
org.apache.directory.shared.ldap.schema.Normalizer#normalize(java.lang.Object)


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.