Package net.ontopia.topicmaps.core.index
Interface NameIndexIF
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<TopicNameIF>
getTopicNames(String name_value)
PUBLIC: Gets all topic names that have the given name value (in any scope).Collection<TopicNameIF>
getTopicNames(String value, TopicIF topicNameType)
PUBLIC: Gets all topic names that have the given name value (in any scope) and topicNameType.Collection<VariantNameIF>
getVariants(String value)
INTERNAL: Gets all variants that have the specified value independent of datatype.Collection<VariantNameIF>
getVariants(String value, LocatorIF datatype)
INTERNAL: Gets all variants that have the specified value and datatype.
-
-
-
Method Detail
-
getTopicNames
Collection<TopicNameIF> getTopicNames(String name_value)
PUBLIC: Gets all topic names that have the given name value (in any scope).- Parameters:
name_value
- A string; the value of a topic name.- Returns:
- A collection of TopicNameIF objects with the given name value.
-
getTopicNames
Collection<TopicNameIF> getTopicNames(String value, TopicIF topicNameType)
PUBLIC: Gets all topic names that have the given name value (in any scope) and topicNameType.- Parameters:
value
- A string; the value of a topic nametopicNameType
- A TopicIF; the type of a topic name- Returns:
- A collection of TopicNameIF objects with the given name value and type.
- Since:
- 5.4.0
-
getVariants
Collection<VariantNameIF> getVariants(String value)
INTERNAL: Gets all variants that have the specified value independent of datatype.- Returns:
- A collection of VariantNameIF objects.
-
getVariants
Collection<VariantNameIF> getVariants(String value, LocatorIF datatype)
INTERNAL: Gets all variants that have the specified value and datatype.- Returns:
- A collection of VariantNameIF objects.
- Since:
- 4.0
-
-