public class XmlMatchingRule extends Object implements MatchingRule<String>
Constructor and Description |
---|
XmlMatchingRule() |
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(String a,
String b)
Matches two objects.
|
boolean |
matchRegex(String a,
String regex)
Matches value against given regex.
|
String |
normalize(String original)
Returns a normalized version of the value.
|
public QName getName()
MatchingRule
getName
in interface MatchingRule<String>
public boolean isSupported(QName xsdType)
MatchingRule
isSupported
in interface MatchingRule<String>
public boolean match(String a, String b)
MatchingRule
match
in interface MatchingRule<String>
public String normalize(String original)
MatchingRule
normalize
in interface MatchingRule<String>
public boolean matchRegex(String a, String regex)
MatchingRule
matchRegex
in interface MatchingRule<String>
Copyright © 2019 Evolveum. All rights reserved.