Class PhoneClassMatcher
java.lang.Object
ca.phon.phonex.PhoneClassMatcher
- All Implemented Interfaces:
PhoneMatcher
Combine multiple phone matchers.
-
Constructor Summary
ConstructorsConstructorDescriptionPhoneClassMatcher(boolean not, PhoneMatcher... matchers) ConstructorPhoneClassMatcher(PhoneMatcher... matchers) Constructor -
Method Summary
-
Constructor Details
-
PhoneClassMatcher
public PhoneClassMatcher() -
PhoneClassMatcher
Constructor -
PhoneClassMatcher
Constructor- Parameters:
matchers- list of matchers
-
-
Method Details
-
addMatcher
-
isNot
public boolean isNot() -
setNot
public void setNot(boolean not) -
matches
Description copied from interface:PhoneMatcherPerform test on given phone.- Specified by:
matchesin interfacePhoneMatcher
-
matchesAnything
public boolean matchesAnything()Description copied from interface:PhoneMatcherDoes this matcher match anything? Used at runtime to help determine proper backtracking paths.- Specified by:
matchesAnythingin interfacePhoneMatcher
-
toString
-