Package net.ontopia.topicmaps.utils
Class TopicCharacteristicGrabbers
java.lang.Object
net.ontopia.topicmaps.utils.TopicCharacteristicGrabbers
INTERNAL: A convenience class for creating grabbers that grab
specific topic characteristics, using various criteria, including
scope.
- Since:
- 1.1
-
Method Summary
Modifier and TypeMethodDescriptionINTERNAL: Returns a grabber that will grab the name most suitable for display from a topic.INTERNAL: Returns a grabber that will grab the name most suitable for sorting from a topic.
-
Method Details
-
getDisplayNameGrabber
INTERNAL: Returns a grabber that will grab the name most suitable for display from a topic. If the topic has a display name that name will be chosen. If not, the base name in the least constrained scope will be chosen.- Returns:
- A TopicNameIF or VariantNameIF object; null if the topic has no base names.
-
getSortNameGrabber
INTERNAL: Returns a grabber that will grab the name most suitable for sorting from a topic. If the topic has a sort name that name will be chosen. If not, the base name in the least constrained scope will be chosen.- Returns:
- A TopicNameIF or VariantNameIF object; null if the topic has no base names.
-