|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ontopia.topicmaps.entry.AbstractTopicMapReference
net.ontopia.topicmaps.utils.MergeReference
public class MergeReference
INTERNAL: A topic map reference that uses a TopicMapRepositoryIF to retrieve a list of topic maps and create a new merged topic map from them.
Constructor Summary | |
---|---|
MergeReference(java.lang.String id,
java.lang.String title,
TopicMapStoreFactoryIF sfactory,
TopicMapRepositoryIF repository,
java.util.List refkeys)
INTERNAL: Creates a TopicMapReferenceIF which references the result of merging a number of topic maps |
Method Summary | |
---|---|
void |
close()
PUBLIC: Closes all open stores and the reference itself. |
TopicMapStoreIF |
createStore(boolean readonly)
PUBLIC: Creates a topic map store that lets you access the referenced topic map. |
void |
open()
PUBLIC: Opens the reference. |
Methods inherited from class net.ontopia.topicmaps.entry.AbstractTopicMapReference |
---|
addTopicListener, clear, delete, getId, getSource, getTitle, isDeleted, isOpen, registerTopicListeners, removeTopicListener, setId, setSource, setTitle, storeClosed |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MergeReference(java.lang.String id, java.lang.String title, TopicMapStoreFactoryIF sfactory, TopicMapRepositoryIF repository, java.util.List refkeys)
sfactory
- the store factory to use for creating the
resulting merged topic map.repository
- the topic map repository to look up the topic maps that
are to be merged in.refkeys
- a list of topic map reference key strings which
refers to the topic maps that are to be merged.
should be used.Method Detail |
---|
public void open()
TopicMapReferenceIF
open
in interface TopicMapReferenceIF
open
in class AbstractTopicMapReference
public TopicMapStoreIF createStore(boolean readonly) throws java.io.IOException
TopicMapReferenceIF
createStore
in interface TopicMapReferenceIF
createStore
in class AbstractTopicMapReference
java.io.IOException
public void close()
TopicMapReferenceIF
close
in interface TopicMapReferenceIF
close
in class AbstractTopicMapReference
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |