public class MergeReference extends AbstractTopicMapReference
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
refkeys |
protected TopicMapRepositoryIF |
repository |
protected boolean |
reuse_store |
protected TopicMapStoreFactoryIF |
sfactory |
protected TopicMapStoreIF |
store |
deleted, id, isopen, listeners, source, title, topic_listeners| Constructor and Description |
|---|
MergeReference(String id,
String title,
TopicMapStoreFactoryIF sfactory,
TopicMapRepositoryIF repository,
List<String> refkeys)
INTERNAL: Creates a TopicMapReferenceIF which references the
result of merging a number of topic maps
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
PUBLIC: Closes all open stores and the reference itself.
|
protected TopicMapStoreIF |
createStore() |
TopicMapStoreIF |
createStore(boolean readonly)
PUBLIC: Creates a topic map store that lets you access the
referenced topic map.
|
void |
open()
PUBLIC: Opens the reference.
|
addTopicListener, clear, delete, getId, getSource, getTitle, getTopicListeners, isDeleted, isOpen, makeListenerArray, registerTopicListeners, removeTopicListener, setId, setSource, setTitle, setTopicListeners, storeClosedprotected TopicMapStoreIF store
protected TopicMapStoreFactoryIF sfactory
protected TopicMapRepositoryIF repository
protected boolean reuse_store
public MergeReference(String id, String title, TopicMapStoreFactoryIF sfactory, TopicMapRepositoryIF repository, List<String> 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.public void open()
TopicMapReferenceIFopen in interface TopicMapReferenceIFopen in class AbstractTopicMapReferencepublic TopicMapStoreIF createStore(boolean readonly) throws IOException
TopicMapReferenceIFcreateStore in interface TopicMapReferenceIFcreateStore in class AbstractTopicMapReferenceIOExceptionprotected TopicMapStoreIF createStore()
public void close()
TopicMapReferenceIFclose in interface AutoCloseableclose in interface TopicMapReferenceIFclose in class AbstractTopicMapReference