Interface PreparedNormalizer

All Known Implementing Classes:
DeepTrimNormalizer, DeepTrimToLowerNormalizer, NumericNormalizer

public interface PreparedNormalizer
An interface that is implemented by Normalizers calling the PrepareString class.
Author:
Apache Directory Project
  • Method Details

    • normalize

      String normalize(String value, PrepareString.AssertionType assertionType) throws LdapException
      Gets the normalized value.
      Parameters:
      value - the value to normalize. It must *not* be null !
      assertionType - The type of String we have to normalize
      Returns:
      the normalized form for a value
      Throws:
      LdapException - if an error results during normalization