Class DemoNormalizer
java.lang.Object
io.mosip.authentication.core.util.DemoNormalizer
Generic class to normalize individual name, address.
- Author:
- Rakesh Roshan, Arun Bose S, Nagarjuna
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnormalizeAddress(String address, String language) This method is used to normalize address.Calss the demo normalizer api instance to normalize the addressnormalizeName(String nameInfo, String language, MasterDataFetcher titleFetcher) This method is used to normalize name.
-
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 infolanguage- the languagetitleFetcher- the title fetcher- Returns:
- the string
- Throws:
IdAuthenticationBusinessException- the id authentication business exception
-
normalizeAddress
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
-