NameClassVisitor
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 | Description |
---|---|
NameClassCollisionChecker() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
probe(String uri,
String local) |
Throw
eureka to return true from the probe method. |
check, onAnyName, onChoice, onDifference, onNot, onNsName, onSimple
protected void probe(String uri, String local)
NameClassComparator
eureka
to return true from the probe method.probe
in class NameClassComparator
Copyright © 2019 Oracle Corporation. All rights reserved.