public interface MatchingRule<T>
Modifier and Type | Method and Description |
---|---|
QName |
getName()
QName that identifies the rule.
|
boolean |
isSupported(QName xsdType)
Returns true if the rule can be applied to the specified XSD type.
|
boolean |
match(T a,
T b)
Matches two objects.
|
boolean |
matchRegex(T a,
String regex)
Matches value against given regex.
|
T |
normalize(T original)
Returns a normalized version of the value.
|
QName getName()
boolean isSupported(QName xsdType)
boolean match(T a, T b) throws SchemaException
SchemaException
boolean matchRegex(T a, String regex) throws SchemaException
SchemaException
T normalize(T original) throws SchemaException
SchemaException
Copyright © 2019 Evolveum. All rights reserved.