Interface Normalizer<T>
- All Known Subinterfaces:
- PolyStringNormalizer,- StringNormalizer
Normalizes and matches (arbitrary) values, typically strings.
- 
Method SummaryModifier and TypeMethodDescription@NotNull QNamegetName()Returns the qualified name identifying this normalizer.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.default StringnormalizeString(String orig) Temporary solution for untyped relation between normalizers vs. matching rules.
- 
Method Details- 
normalizeReturns a normalized version of the value.- Throws:
- SchemaException
 
- 
matchMatches two values.- Throws:
- SchemaException
 
- 
matchRegexMatches a value against regular expression (if supported).- Throws:
- SchemaException
 
- 
getNameReturns the qualified name identifying this normalizer.
- 
isIdentityboolean isIdentity()`true` if the normalizer is known to be the default one, i.e., one that does no transformations.
- 
normalizeStringTemporary solution for untyped relation between normalizers vs. matching rules. (See the wildcard return type ofMatchingRule.getNormalizer(). We often need to normalize strings intoPolyStrings.- Throws:
- SchemaException
 
 
-