Class AbstractConfigurablePolyStringNormalizer
java.lang.Object
com.evolveum.midpoint.prism.impl.polystring.BaseStringNormalizer
com.evolveum.midpoint.prism.impl.polystring.AbstractConfigurablePolyStringNormalizer
- All Implemented Interfaces:
ConfigurableNormalizer,Normalizer<String>,StringNormalizer,PolyStringNormalizer
- Direct Known Subclasses:
AlphanumericPolyStringNormalizer,Ascii7PolyStringNormalizer,PassThroughPolyStringNormalizer
public abstract class AbstractConfigurablePolyStringNormalizer
extends BaseStringNormalizer
implements PolyStringNormalizer, ConfigurableNormalizer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(PolyStringNormalizerConfigurationType configuration) protected PolyStringNormalizerConfigurationTypebooleanMatches two values.booleanmatchRegex(String a, String regex) Matches a value against regular expression (if supported).Intentionally not throwingSchemaException, unlike the method that is being overridden.protected abstract Stringprotected @NotNull Stringpostprocess(@NotNull String s) protected @NotNull Stringprotected @NotNull StringreplaceAll(@NotNull String s, Pattern pattern, String replacement) toString()Methods inherited from class com.evolveum.midpoint.prism.impl.polystring.BaseStringNormalizer
isIdentity, polyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.prism.normalization.Normalizer
getName, isIdentity, normalizeStringMethods inherited from interface com.evolveum.midpoint.prism.normalization.StringNormalizer
poly
-
Constructor Details
-
AbstractConfigurablePolyStringNormalizer
public AbstractConfigurablePolyStringNormalizer()
-
-
Method Details
-
configure
- Specified by:
configurein interfaceConfigurableNormalizer
-
getConfiguration
-
replaceAll
-
removeAll
-
normalize
Description copied from interface:PolyStringNormalizerIntentionally not throwingSchemaException, unlike the method that is being overridden.- Specified by:
normalizein interfaceNormalizer<String>- Specified by:
normalizein interfacePolyStringNormalizer
-
match
public boolean match(@Nullable @Nullable String a, @Nullable @Nullable String b) throws SchemaException Description copied from interface:NormalizerMatches two values.- Specified by:
matchin interfaceNormalizer<String>- Throws:
SchemaException
-
matchRegex
Description copied from interface:NormalizerMatches a value against regular expression (if supported).- Specified by:
matchRegexin interfaceNormalizer<String>- Throws:
SchemaException
-
normalizeCore
-
postprocess
-
toString
- Overrides:
toStringin classBaseStringNormalizer
-