Class LowercaseStringNormalizer
java.lang.Object
com.evolveum.midpoint.prism.impl.polystring.BaseStringNormalizer
com.evolveum.midpoint.prism.impl.polystring.LowercaseStringNormalizer
- All Implemented Interfaces:
Normalizer<String>,StringNormalizer,PolyStringNormalizer
A normalizer that converts all string to lowercase (and compares strings in a case-insensitive way).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull QNamegetName()Returns the qualified name identifying this normalizer.static @NotNull LowercaseStringNormalizerinstance()booleanMatches 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.Methods inherited from class com.evolveum.midpoint.prism.impl.polystring.BaseStringNormalizer
isIdentity, poly, toStringMethods 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
isIdentity, normalizeStringMethods inherited from interface com.evolveum.midpoint.prism.normalization.StringNormalizer
poly
-
Constructor Details
-
LowercaseStringNormalizer
public LowercaseStringNormalizer()
-
-
Method Details
-
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>
-
getName
Description copied from interface:NormalizerReturns the qualified name identifying this normalizer.- Specified by:
getNamein interfaceNormalizer<String>
-
instance
-