Create a selector.
When mode is MODE_IF then a class is "selected" if-and-only-if
the class matches one of the criteria defined via the addXXX methods.
In other words, the criteria specify which classes are included
(selected) in the resulting class set.
When mode is MODE_UNLESS, then a class is "selected" unless the class
matches one of the criteria defined via the addXXX methods. In other
words, the criteria specify which classes are excluded from the
resulting class set.
|