Class TNCIndex

java.lang.Object
net.ontopia.topicmaps.impl.basic.index.TNCIndex
All Implemented Interfaces:
IndexIF

public class TNCIndex extends Object implements IndexIF
INTERNAL: Index providing lookups from base name value + scope to the topic that has such base name characteristics. (TNC = Topic Naming Constraint).
  • Field Details

  • Constructor Details

  • Method Details

    • getTopics

      public Collection<TopicIF> getTopics(String basename_string, Collection<TopicIF> scope)
      INTERNAL: Returns the topics that have a basename with the given string value in the given scope.

      This method is used to look up topics in the socalled topic name space. Note that whether a single topic is returned depends on whether the topic map have been completely processed or not.