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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(PolyStringNormalizerConfigurationType configuration) protected PolyStringNormalizerConfigurationTypeprotected booleanprotected Stringprotected StringUnicode Normalization Form Compatibility Decomposition (NFKD)Returns a normalized version of the string.protected abstract Stringprotected Stringprotected Stringpreprocess(String s) protected Stringprotected Stringprotected StringreplaceAll(String s, Pattern pattern, String replacement) toString()protected Stringprotected StringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.prism.polystring.PolyStringNormalizer
getName
-
Constructor Details
-
AbstractPolyStringNormalizer
public AbstractPolyStringNormalizer()
-
-
Method Details
-
configure
- Specified by:
configurein interfaceConfigurableNormalizer
-
getConfiguration
-
trim
-
nfkd
Unicode Normalization Form Compatibility Decomposition (NFKD) -
replaceAll
-
removeAll
-
removeAll
-
trimWhitespace
-
lowerCase
-
isBlank
-
normalize
Description copied from interface:PolyStringNormalizerReturns a normalized version of the string.- Specified by:
normalizein interfacePolyStringNormalizer- Returns:
- normalized version of the string
-
normalizeCore
-
preprocess
-
postprocess
-
toString
-