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

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

public class TelephoneNumberNormalizer
extends java.lang.Object
implements Normalizer

Normalize Telephone Number Strings

Author:
Apache Directory Project
See Also:
Serialized Form

Constructor Summary
TelephoneNumberNormalizer()
           
 
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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TelephoneNumberNormalizer

public TelephoneNumberNormalizer()
Method Detail

normalize

public Value<?> normalize(Value<?> value)
                   throws javax.naming.NamingException
Gets the normalized value.

Specified by:
normalize in interface Normalizer
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

normalize

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

Specified by:
normalize in interface Normalizer
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 © 2004-2009 The Apache Software Foundation. All Rights Reserved.