Class 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:
  • Constructor Details

    • 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.
  • Method Details

    • 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:
    • normalize

      public String normalize(String value, PrepareString.AssertionType assertionType)
      Gets the normalized value of a substring assertion.
      Specified by:
      normalize in class Normalizer
      Parameters:
      value - the substring value to normalize. It must *not* be null !
      assertionType - The type of assertion
      Returns:
      the normalized form for a value
    • normalize

      public byte[] normalize(byte[] value)
      Returns the value argument as-is without alterations all the time.
      Parameters:
      value - any value
      Returns:
      the value argument returned as-is
      See Also: