Class ToneNumberMatcher
java.lang.Object
ca.phon.phonex.ToneNumberMatcher
- All Implemented Interfaces:
PhoneMatcher
Matcher for tone numbers. This matcher matches if the given element
is a ToneNumber instance. This matcher does not check for specific
tone numbers, use the
:tn("toneNumbers") plugin matcher for that functionality.
The phonex for this matcher is \t.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanPerform test on given phone.booleanDoes this matcher match anything? Used at runtime to help determine proper backtracking paths.toString()
-
Constructor Details
-
ToneNumberMatcher
public ToneNumberMatcher()
-
-
Method Details
-
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
-