Class ExchangeEmailAddressesMatchingRule
- java.lang.Object
- 
- com.evolveum.midpoint.prism.impl.match.ExchangeEmailAddressesMatchingRule
 
- 
- All Implemented Interfaces:
- MatchingRule<String>
 
 public class ExchangeEmailAddressesMatchingRule extends Object implements MatchingRule<String> A specific matching rule for Microsoft Exchange EmailAddresses attribute consisting of SMTP:/smtp: prefix and email address. It considers the case in the prefix but ignores the case in the email address.- Author:
- Pavol Mederly
 
- 
- 
Constructor SummaryConstructors Constructor Description ExchangeEmailAddressesMatchingRule()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description QNamegetName()QName that identifies the rule.booleanisSupported(QName xsdType)Returns true if the rule can be applied to the specified XSD type.booleanmatch(String a, String b)Matches two objects.booleanmatchRegex(String a, String regex)Matches value against given regex.Stringnormalize(String original)Returns a normalized version of the value.
 
- 
- 
- 
Method Detail- 
getNamepublic QName getName() Description copied from interface:MatchingRuleQName that identifies the rule. This QName may be used to refer to this specific matching rule, it is an matching rule identifier.- Specified by:
- getNamein interface- MatchingRule<String>
 
 - 
isSupportedpublic boolean isSupported(QName xsdType) Description copied from interface:MatchingRuleReturns true if the rule can be applied to the specified XSD type.- Specified by:
- isSupportedin interface- MatchingRule<String>
 
 - 
matchpublic boolean match(String a, String b) Description copied from interface:MatchingRuleMatches two objects.- Specified by:
- matchin interface- MatchingRule<String>
 
 - 
normalizepublic String normalize(String original) Description copied from interface:MatchingRuleReturns a normalized version of the value. For normalized version the following holds: if A matches B then normalize(A) == normalize(B)- Specified by:
- normalizein interface- MatchingRule<String>
 
 - 
matchRegexpublic boolean matchRegex(String a, String regex) Description copied from interface:MatchingRuleMatches value against given regex.- Specified by:
- matchRegexin interface- MatchingRule<String>
 
 
- 
 
-