|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.topicmaps.utils.tmrap.RegistryTopicIndex
public class RegistryTopicIndex
EXPERIMENTAL: An implementation that looks up topics in all currently open topic maps in the given registry.
| Field Summary | |
|---|---|
protected java.lang.String |
editBaseuri
|
protected boolean |
readonly
|
protected TopicMapRepositoryIF |
repository
|
protected StringifierIF |
strify
|
protected java.lang.String |
viewBaseuri
|
| Constructor Summary | |
|---|---|
RegistryTopicIndex(TopicMapRepositoryIF repository,
boolean readonly,
java.lang.String editBaseuri,
java.lang.String viewBaseuri)
|
|
| Method Summary | |
|---|---|
void |
close()
Lets go of any underlying resources used by the index. |
java.util.Collection |
getTopicPages(java.util.Collection indicators,
java.util.Collection sources,
java.util.Collection subjects)
Returns all known topic pages for the topics whose identity matches one of the locators passed as arguments. |
TopicPages |
getTopicPages2(java.util.Collection indicators,
java.util.Collection sources,
java.util.Collection subjects)
Returns all known topic pages for the topics whose identity matches one of the locators passed as arguments. |
java.util.Collection |
getTopics(java.util.Collection indicators,
java.util.Collection sources,
java.util.Collection subjects)
Returns all topics the index knows about whose identity matches one the of the locators passed as arguments. |
java.util.Collection |
loadRelatedTopics(java.util.Collection indicators,
java.util.Collection sources,
java.util.Collection subjects,
boolean two_step)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected TopicMapRepositoryIF repository
protected boolean readonly
protected java.lang.String editBaseuri
protected java.lang.String viewBaseuri
protected StringifierIF strify
| Constructor Detail |
|---|
public RegistryTopicIndex(TopicMapRepositoryIF repository,
boolean readonly,
java.lang.String editBaseuri,
java.lang.String viewBaseuri)
editBaseuri - a URL of the form
http://whatever/omnigator/stuff.jsp?tmid=%tmid%&id=%topicid% Note
that the %key% tokens are used to build the correct URI.| Method Detail |
|---|
public java.util.Collection getTopics(java.util.Collection indicators,
java.util.Collection sources,
java.util.Collection subjects)
TopicIndexIF
getTopics in interface TopicIndexIFindicators - A collection of subject identifiers as
LocatorIF objects.sources - A collection of source locators as LocatorIF objects.subjects - A colleciton of subject locators as LocatorIF objects.
public java.util.Collection loadRelatedTopics(java.util.Collection indicators,
java.util.Collection sources,
java.util.Collection subjects,
boolean two_step)
loadRelatedTopics in interface TopicIndexIF
public java.util.Collection getTopicPages(java.util.Collection indicators,
java.util.Collection sources,
java.util.Collection subjects)
TopicIndexIF
getTopicPages in interface TopicIndexIFindicators - A collection of subject identifiers as
LocatorIF objects.sources - A collection of source locators as LocatorIF objects.subjects - A colleciton of subject locators as LocatorIF objects.
public TopicPages getTopicPages2(java.util.Collection indicators,
java.util.Collection sources,
java.util.Collection subjects)
TopicIndexIF
getTopicPages2 in interface TopicIndexIFindicators - A collection of subject identifiers as
LocatorIF objects.sources - A collection of source locators as LocatorIF objects.subjects - A colleciton of subject locators as LocatorIF objects.
public void close()
TopicIndexIF
close in interface TopicIndexIF
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||