org.apache.directory.shared.ldap.schema
Interface Normalizer

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
CachingNormalizer, DeepTrimNormalizer, DeepTrimToLowerNormalizer, DefaultStringNormalizer, GeneralizedTimeNormalizer, NoOpNormalizer, NumericNormalizer, ObjectIdentifierNormalizer, RegexNormalizer, TelephoneNumberNormalizer

public interface Normalizer
extends java.io.Serializable

Converts attribute values to a canonical form.

Version:
$Rev: 482019 $
Author:
Apache Directory Project

Method Summary
 java.lang.Object normalize(java.lang.Object value)
          Gets the normalized value.
 

Method Detail

normalize

java.lang.Object normalize(java.lang.Object value)
                           throws javax.naming.NamingException
Gets the normalized value.

Parameters:
value - the value to normalize. It must *not* be null !
Returns:
the normalized form for a value
Throws:
javax.naming.NamingException - if an error results during normalization


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.