Class DemoNormalizer

java.lang.Object
io.mosip.authentication.core.util.DemoNormalizer

@Component public class DemoNormalizer extends Object
Generic class to normalize individual name, address.
Author:
Rakesh Roshan, Arun Bose S, Nagarjuna
  • Constructor Details

    • DemoNormalizer

      public DemoNormalizer()
  • Method Details

    • normalizeName

      public String normalizeName(String nameInfo, String language, MasterDataFetcher titleFetcher) throws IdAuthenticationBusinessException
      This method is used to normalize name. Calss the demo normalizer api instance to normalize the name
      Parameters:
      nameInfo - the name info
      language - the language
      titleFetcher - the title fetcher
      Returns:
      the string
      Throws:
      IdAuthenticationBusinessException - the id authentication business exception
    • normalizeAddress

      public String normalizeAddress(String address, String language)
      This method is used to normalize address.Calss the demo normalizer api instance to normalize the address
      Parameters:
      address - the address received from request or entity
      Returns:
      the string output after normalization