Class XmlMatchingRule
java.lang.Object
com.evolveum.midpoint.prism.impl.match.XmlMatchingRule
- All Implemented Interfaces:
MatchingRule<String>
String matching rule that compares strings as XML snippets.
The XML comparison is not schema aware. It will not handle
QNames in values correctly. The comparison ignores XML formatting
(whitespaces between elements).
- Author:
- Radovan Semancik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
QName that identifies the rule.@NotNull XmlNormalizer
Returns the normalizer corresponding to this rule.boolean
Returns true if the rule can be applied to the specified XSD type.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.match.MatchingRule
match, matchRegex, normalize
-
Constructor Details
-
XmlMatchingRule
public XmlMatchingRule()
-
-
Method Details
-
getName
Description copied from interface:MatchingRule
QName that identifies the rule. This QName may be used to refer to this specific matching rule, it is an matching rule identifier.- Specified by:
getName
in interfaceMatchingRule<String>
-
supports
Description copied from interface:MatchingRule
Returns true if the rule can be applied to the specified XSD type.- Specified by:
supports
in interfaceMatchingRule<String>
-
getNormalizer
Description copied from interface:MatchingRule
Returns the normalizer corresponding to this rule.- Specified by:
getNormalizer
in interfaceMatchingRule<String>
-
toString
-