Package net.ontopia.topicmaps.nav.utils.comparators
Provides Comparators which are used by the Navigator.
-
Class Summary Class Description AssociationComparator INTERNAL: A Comparator for ordering AssociationIFs alphabetically after their type.AssociationIDComparator INTERNAL: A Comparator for ordering AssociationIFs after their ID.AssociationRoleComparator INTERNAL: A comparator for ordering AssociationRoleIFs alphabetically by role player and role type.AssociationRoleTypeComparator INTERNAL: A comparator for ordering AssociationRoleIFs alphabetically by role type and role player.ContextNameGrabber INTERNAL: Grabber that grabs the most appropriate basename from a topic and then the most appropriate variant name, if one can be found.NameComparator INTERNAL: A Comparator for ordering TopicNameIFs and VariantNameIFs alphabetically (case-independent).NameComparatorWithGenerality INTERNAL: A Comparator for ordering TopicNameIFs and VariantNameIFs first after their generality (determined by the number of themes in their scopes, which means that the name in the unconstrained scope would always appear first) and second alphabetically (case-independent).OccurrenceComparator INTERNAL: A Comparator for ordering OccurrenceIFs alphabetically.TopicComparator INTERNAL: A Comparator for ordering topics alphabetically.TopicComparator.ComparatorNameStringifier INTERNAL: Stringifier that stringifies TopicNameIFs and VariantNameIFs.TopicMapReferenceComparator INTERNAL: A Comparator for ordering TopicMapReferences lexically.TopicNameComparator INTERNAL: A Comparator for ordering TopicNameIFs alphabetically (case-independent).