NameClass x NameClass -> booleanOverride the probe method to define the actual function.
To compute, create an instance and call the check method. This class is not reentrant, so the caller is responsible not to reuse the same object by multiple threads.
| Modifier and Type | Field and Description |
|---|---|
| protected final RuntimeException | eureka
This exception will be thrown when a collision is found. |
| private final String | |
| protected NameClass | nc1
Two name classes to be tested. |
| protected NameClass | nc2
Two name classes to be tested. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| protected abstract void |
| eureka | back to summary |
|---|---|
| protected final RuntimeException eureka This exception will be thrown when a collision is found. | |
| MAGIC | back to summary |
|---|---|
| private final String MAGIC | |
| nc1 | back to summary |
|---|---|
| protected NameClass nc1 Two name classes to be tested. | |
| nc2 | back to summary |
|---|---|
| protected NameClass nc2 Two name classes to be tested. | |
| NameClassComparator | back to summary |
|---|---|
| public NameClassComparator() | |
| check | back to summary |
|---|---|
| public boolean check(NameClass _new, NameClass _old) Returns true if two name classes collide. | |
| onAnyName | back to summary |
|---|---|
| public Object onAnyName(AnyNameClass nc) Implements com. | |
| onChoice | back to summary |
|---|---|
| public Object onChoice(ChoiceNameClass nc) Implements com. | |
| onDifference | back to summary |
|---|---|
| public Object onDifference(DifferenceNameClass nc) Implements com. | |
| onNot | back to summary |
|---|---|
| public Object onNot(NotNameClass nc) Implements com. | |
| onNsName | back to summary |
|---|---|
| public Object onNsName(NamespaceNameClass nc) Implements com. | |
| onSimple | back to summary |
|---|---|
| public Object onSimple(SimpleNameClass nc) Implements com. | |
| probe | back to summary |
|---|---|
| protected abstract void probe(String uri, String local) Throw | |