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 StringFIXEDSYSTEMKEYprotected Map<String,Preferences>systemRootsprotected 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 TopicIFcreateSystemRootTopic(TopicMapIF topicmap)protected abstract TopicIFcreateUserRootTopic(TopicMapIF topicmap)protected StringgetSystemKey()protected abstract TopicMapReferenceIFgetSystemTopicMapReference(String key)protected abstract StringgetUserKey()protected abstract TopicMapReferenceIFgetUserTopicMapReference(String key)PreferencessystemRoot()PreferencesuserRoot()
-
-
-
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:
systemRootin interfacePreferencesFactory
-
userRoot
public Preferences userRoot()
- Specified by:
userRootin 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
-
-