public abstract class AbstractPolyStringNormalizer extends Object implements PolyStringNormalizer, ConfigurableNormalizer
Constructor and Description |
---|
AbstractPolyStringNormalizer() |
Modifier and Type | Method and Description |
---|---|
void |
configure(PolyStringNormalizerConfigurationType configuration) |
protected PolyStringNormalizerConfigurationType |
getConfiguration() |
protected boolean |
isBlank(String s) |
protected String |
lowerCase(String s) |
protected String |
nfkd(String s)
Unicode Normalization Form Compatibility Decomposition (NFKD)
|
String |
normalize(String orig)
Returns a normalized version of the string.
|
protected abstract String |
normalizeCore(String s) |
protected String |
postprocess(String s) |
protected String |
preprocess(String s) |
protected String |
removeAll(String s,
int lowerCode,
int upperCode) |
protected String |
removeAll(String s,
Pattern pattern) |
protected String |
replaceAll(String s,
Pattern pattern,
String replacement) |
String |
toString() |
protected String |
trim(String s) |
protected String |
trimWhitespace(String s) |
public void configure(PolyStringNormalizerConfigurationType configuration)
configure
in interface ConfigurableNormalizer
protected PolyStringNormalizerConfigurationType getConfiguration()
protected boolean isBlank(String s)
public String normalize(String orig)
PolyStringNormalizer
normalize
in interface PolyStringNormalizer
Copyright © 2019 Evolveum. All rights reserved.