Class TopicMapPreferencesFactory
- java.lang.Object
-
- net.ontopia.topicmaps.utils.tmprefs.TopicMapPreferencesFactory
-
- All Implemented Interfaces:
PreferencesFactory
public abstract class TopicMapPreferencesFactory extends Object implements PreferencesFactory
-
-
Field Summary
Fields Modifier and Type Field Description static String
FIXEDSYSTEMKEY
protected Map<String,Preferences>
systemRoots
protected Map<String,Preferences>
userRoots
-
Constructor Summary
Constructors Constructor Description TopicMapPreferencesFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Field Detail
-
systemRoots
protected Map<String,Preferences> systemRoots
-
userRoots
protected Map<String,Preferences> userRoots
-
FIXEDSYSTEMKEY
public static final String FIXEDSYSTEMKEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
systemRoot
public Preferences systemRoot()
- Specified by:
systemRoot
in interfacePreferencesFactory
-
userRoot
public Preferences userRoot()
- Specified by:
userRoot
in interfacePreferencesFactory
-
getSystemKey
protected String getSystemKey()
-
getUserKey
protected abstract String getUserKey()
-
getSystemTopicMapReference
protected abstract TopicMapReferenceIF getSystemTopicMapReference(String key)
-
getUserTopicMapReference
protected abstract TopicMapReferenceIF getUserTopicMapReference(String key)
-
createSystemRootTopic
protected TopicIF createSystemRootTopic(TopicMapIF topicmap) throws BackingStoreException
- Throws:
BackingStoreException
-
createUserRootTopic
protected abstract TopicIF createUserRootTopic(TopicMapIF topicmap) throws BackingStoreException
- Throws:
BackingStoreException
-
-