Class NoOpNormalizer<T>
java.lang.Object
com.evolveum.midpoint.prism.impl.polystring.NoOpNormalizer<T>
- All Implemented Interfaces:
Normalizer<T>
The default ("no-op") normalizer that preserves the original value unchanged.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull QName
getName()
Returns the qualified name identifying this normalizer.static <T> @NotNull NoOpNormalizer<T>
instance()
boolean
`true` if the normalizer is known to be the default one, i.e., one that does no transformations.boolean
Matches two values.boolean
matchRegex
(T a, String regex) Matches a value against regular expression (if supported).Returns a normalized version of the value.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
normalizeString
-
Constructor Details
-
NoOpNormalizer
public NoOpNormalizer()
-
-
Method Details
-
normalize
Description copied from interface:Normalizer
Returns a normalized version of the value.- Specified by:
normalize
in interfaceNormalizer<T>
- Throws:
SchemaException
-
match
Description copied from interface:Normalizer
Matches two values.- Specified by:
match
in interfaceNormalizer<T>
- Throws:
SchemaException
-
matchRegex
Description copied from interface:Normalizer
Matches a value against regular expression (if supported).- Specified by:
matchRegex
in interfaceNormalizer<T>
-
getName
Description copied from interface:Normalizer
Returns the qualified name identifying this normalizer.- Specified by:
getName
in interfaceNormalizer<T>
-
isIdentity
public boolean isIdentity()Description copied from interface:Normalizer
`true` if the normalizer is known to be the default one, i.e., one that does no transformations.- Specified by:
isIdentity
in interfaceNormalizer<T>
-
instance
-
toString
-