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
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull QNamegetName()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.booleanMatches two values.booleanmatchRegex(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, waitMethods inherited from interface com.evolveum.midpoint.prism.normalization.Normalizer
normalizeString
-
Constructor Details
-
NoOpNormalizer
public NoOpNormalizer()
-
-
Method Details
-
normalize
Description copied from interface:NormalizerReturns a normalized version of the value.- Specified by:
normalizein interfaceNormalizer<T>- Throws:
SchemaException
-
match
Description copied from interface:NormalizerMatches two values.- Specified by:
matchin interfaceNormalizer<T>- Throws:
SchemaException
-
matchRegex
Description copied from interface:NormalizerMatches a value against regular expression (if supported).- Specified by:
matchRegexin interfaceNormalizer<T>
-
getName
Description copied from interface:NormalizerReturns the qualified name identifying this normalizer.- Specified by:
getNamein 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:
isIdentityin interfaceNormalizer<T>
-
instance
-
toString
-