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 PreferencesFactory
public Preferences userRoot()
userRoot
in interface PreferencesFactory
protected 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
BackingStoreException
protected abstract TopicIF createUserRootTopic(TopicMapIF topicmap) throws BackingStoreException
BackingStoreException