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
-
Method Summary
Modifier and TypeMethodDescription@NotNull QName
getName()
Returns the qualified name identifying this normalizer.static @NotNull LowercaseStringNormalizer
instance()
boolean
Matches two values.boolean
matchRegex
(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, toString
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.normalization.Normalizer
isIdentity, normalizeString
Methods inherited from interface com.evolveum.midpoint.prism.normalization.StringNormalizer
poly
-
Constructor Details
-
LowercaseStringNormalizer
public LowercaseStringNormalizer()
-
-
Method Details
-
normalize
Description copied from interface:PolyStringNormalizer
Intentionally not throwingSchemaException
, unlike the method that is being overridden.- Specified by:
normalize
in interfaceNormalizer<String>
- Specified by:
normalize
in interfacePolyStringNormalizer
-
match
public boolean match(@Nullable @Nullable String a, @Nullable @Nullable String b) throws SchemaException Description copied from interface:Normalizer
Matches two values.- Specified by:
match
in interfaceNormalizer<String>
- Throws:
SchemaException
-
matchRegex
Description copied from interface:Normalizer
Matches a value against regular expression (if supported).- Specified by:
matchRegex
in interfaceNormalizer<String>
-
getName
Description copied from interface:Normalizer
Returns the qualified name identifying this normalizer.- Specified by:
getName
in interfaceNormalizer<String>
-
instance
-