public abstract class TopicMapPreferencesFactory extends Object implements PreferencesFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
FIXEDSYSTEMKEY |
protected Map<String,Preferences> |
systemRoots |
protected Map<String,Preferences> |
userRoots |
| Constructor and Description |
|---|
TopicMapPreferencesFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected TopicIF |
createSystemRootTopic(TopicMapIF topicmap) |
protected abstract TopicIF |
createUserRootTopic(TopicMapIF topicmap) |
protected String |
getSystemKey() |
protected abstract TopicMapReferenceIF |
getSystemTopicMapReference(String key) |
protected abstract String |
getUserKey() |
protected abstract TopicMapReferenceIF |
getUserTopicMapReference(String key) |
Preferences |
systemRoot() |
Preferences |
userRoot() |
protected Map<String,Preferences> systemRoots
protected Map<String,Preferences> userRoots
public static final String FIXEDSYSTEMKEY
public Preferences systemRoot()
systemRoot in interface PreferencesFactorypublic Preferences userRoot()
userRoot in interface PreferencesFactoryprotected String getSystemKey()
protected abstract String getUserKey()
protected abstract TopicMapReferenceIF getSystemTopicMapReference(String key)
protected abstract TopicMapReferenceIF getUserTopicMapReference(String key)
protected TopicIF createSystemRootTopic(TopicMapIF topicmap) throws BackingStoreException
BackingStoreExceptionprotected abstract TopicIF createUserRootTopic(TopicMapIF topicmap) throws BackingStoreException
BackingStoreException