com.sun.msv.grammar.util
public class NameClassCollisionChecker extends NameClassComparator
This comparator returns true if the intersection of two name classes is non empty.
The same thing can be computed by using the {@link com.sun.msv.grammar.NameClass#intersection(NameClass, NameClass)} method, but generally this method is faster.