Class FirstNameStandardizer
java.lang.Object
ca.uhn.fhir.rest.server.interceptor.s13n.standardizers.TextStandardizer
ca.uhn.fhir.rest.server.interceptor.s13n.standardizers.FirstNameStandardizer
- All Implemented Interfaces:
IStandardizer
- Direct Known Subclasses:
LastNameStandardizer
Standardizes first name by capitalizing all characters following a separators (e.g. -, ') and removing noise characters.
-
Field Summary
Fields inherited from class ca.uhn.fhir.rest.server.interceptor.s13n.standardizers.TextStandardizer
DIACRITICAL_MARKS, EXT_ASCII_RANGE_END, EXT_ASCII_RANGE_START
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected FirstNameStandardizer
addDelimiters
(String... theDelimiters) protected String
capitalize
(String theString) protected String
checkForRegexp
(String theExpression) protected void
protected boolean
isDelimiter
(String theString) protected String
standardize
(String theString) Standardizes the specified string.protected String
standardizeDelimitedToken
(String theToken, String d) protected String
standardizeNameToken
(String theToken) Methods inherited from class ca.uhn.fhir.rest.server.interceptor.s13n.standardizers.TextStandardizer
addAllowedExtendedAsciiRange, addAllowedNonLetterAndDigitCharacters, addTranslate, asSet, initializeAllowedExtendedAscii, initializeAllowedNonLetterAndDigitCharacters, initializeTranslates, isNoiseCharacter, isTranslate, removeNoise, replaceAccents, replaceTranslates
-
Constructor Details
-
FirstNameStandardizer
public FirstNameStandardizer()
-
-
Method Details
-
initializeDelimiters
-
addDelimiters
-
standardize
Description copied from interface:IStandardizer
Standardizes the specified string.- Specified by:
standardize
in interfaceIStandardizer
- Overrides:
standardize
in classTextStandardizer
- Parameters:
theString
- String to be standardized- Returns:
- Returns a standardized string.
-
capitalize
-
standardizeNameToken
-
standardizeDelimitedToken
-
join
-
checkForRegexp
-
isDelimiter
-