Class AbstractPolyStringNormalizer
java.lang.Object
com.evolveum.midpoint.prism.impl.polystring.AbstractPolyStringNormalizer
- All Implemented Interfaces:
ConfigurableNormalizer
,PolyStringNormalizer
- Direct Known Subclasses:
AlphanumericPolyStringNormalizer
,Ascii7PolyStringNormalizer
,PassThroughPolyStringNormalizer
public abstract class AbstractPolyStringNormalizer
extends Object
implements PolyStringNormalizer, ConfigurableNormalizer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(PolyStringNormalizerConfigurationType configuration) protected PolyStringNormalizerConfigurationType
protected boolean
protected String
protected String
Unicode Normalization Form Compatibility Decomposition (NFKD)Returns a normalized version of the string.protected abstract String
protected String
protected String
preprocess
(String s) protected String
protected String
protected String
replaceAll
(String s, Pattern pattern, String replacement) toString()
protected String
protected String
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.prism.polystring.PolyStringNormalizer
getName
-
Constructor Details
-
AbstractPolyStringNormalizer
public AbstractPolyStringNormalizer()
-
-
Method Details
-
configure
- Specified by:
configure
in interfaceConfigurableNormalizer
-
getConfiguration
-
trim
-
nfkd
Unicode Normalization Form Compatibility Decomposition (NFKD) -
replaceAll
-
removeAll
-
removeAll
-
trimWhitespace
-
lowerCase
-
isBlank
-
normalize
Description copied from interface:PolyStringNormalizer
Returns a normalized version of the string.- Specified by:
normalize
in interfacePolyStringNormalizer
- Returns:
- normalized version of the string
-
normalizeCore
-
preprocess
-
postprocess
-
toString
-