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
NameClass.intersection(NameClass, NameClass)
method,
but generally this method is faster.
eureka, nc1, nc2
Constructor and Description |
---|
NameClassCollisionChecker() |
Modifier and Type | Method and Description |
---|---|
protected void |
probe(java.lang.String uri,
java.lang.String local)
Throw
eureka to return true from the probe method. |
check, onAnyName, onChoice, onDifference, onNot, onNsName, onSimple
protected void probe(java.lang.String uri, java.lang.String local)
NameClassComparator
eureka
to return true from the probe method.probe
in class NameClassComparator