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 Summary
Constructors Constructor Description DemoNormalizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringnormalizeAddress(String address, String language)This method is used to normalize address.Calss the demo normalizer api instance to normalize the addressStringnormalizeName(String nameInfo, String language, MasterDataFetcher titleFetcher)This method is used to normalize name.
-
-
-
Method Detail
-
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 infolanguage- the languagetitleFetcher- the title fetcher- Returns:
- the string
- Throws:
IdAuthenticationBusinessException- the id authentication business exception
-
-