Package ca.phon.phonex
Class PhoneClassMatcher
java.lang.Object
ca.phon.phonex.PhoneClassMatcher
- All Implemented Interfaces:
PhoneMatcher
Combine multiple phone matchers.
-
Constructor Summary
ConstructorDescriptionPhoneClassMatcher
(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:PhoneMatcher
Perform test on given phone.- Specified by:
matches
in interfacePhoneMatcher
-
matchesAnything
public boolean matchesAnything()Description copied from interface:PhoneMatcher
Does this matcher match anything? Used at runtime to help determine proper backtracking paths.- Specified by:
matchesAnything
in interfacePhoneMatcher
-
toString
-