net.ontopia.topicmaps.impl.basic.index
Class TNCIndex
java.lang.Object
net.ontopia.topicmaps.impl.basic.index.TNCIndex
- All Implemented Interfaces:
- IndexIF
public class TNCIndex
- extends java.lang.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).
Method Summary |
java.util.Collection |
getTopics(java.lang.String basename_string,
java.util.Collection scope)
INTERNAL: Returns the topics that have a basename with the given
string value in the given scope. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nameix
protected NameIndexIF nameix
TNCIndex
public TNCIndex(NameIndexIF nameix)
TNCIndex
public TNCIndex(TopicMapIF topicmap)
getTopics
public java.util.Collection getTopics(java.lang.String basename_string,
java.util.Collection 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.
Copyright © 2000-2012 Ontopia.