Class TopicMapSystemFactory
java.lang.Object
org.tmapi.core.TopicMapSystemFactory
net.ontopia.topicmaps.impl.tmapi2.TopicMapSystemFactory
public class TopicMapSystemFactory
extends org.tmapi.core.TopicMapSystemFactory
INTERNAL: OKS->TMAPI object wrapper.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected net.ontopia.topicmaps.impl.tmapi2.Feature[]protected Propertiesfinal String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFeature(String feature) getProperty(String propname) booleanhasFeature(String feature) org.tmapi.core.TopicMapSystemCreate a new TopicMapSystem instance based on the properties set so far.voidsetFeature(String feature, boolean value) voidsetProperties(Properties properties) voidsetProperty(String key, Object val) voidsetProperty(String propname, String propval) Methods inherited from class org.tmapi.core.TopicMapSystemFactory
newInstance
-
Field Details
-
properties
-
features
-
dfeatures
protected net.ontopia.topicmaps.impl.tmapi2.Feature[] dfeatures -
STORE_PROPERTY
- See Also:
-
-
Constructor Details
-
TopicMapSystemFactory
public TopicMapSystemFactory()
-
-
Method Details
-
newTopicMapSystem
public org.tmapi.core.TopicMapSystem newTopicMapSystem() throws org.tmapi.core.TMAPIExceptionCreate a new TopicMapSystem instance based on the properties set so far.
Supported TopicMapSystems:In order to configure the TopicMapStore, you need to set the property "net.ontopia.topicmaps.store" to one of the following values:
- memory (default)
- rdbms
- Specified by:
newTopicMapSystemin classorg.tmapi.core.TopicMapSystemFactory- Throws:
org.tmapi.core.TMAPIException
-
hasFeature
- Specified by:
hasFeaturein classorg.tmapi.core.TopicMapSystemFactory
-
getFeature
- Specified by:
getFeaturein classorg.tmapi.core.TopicMapSystemFactory- Throws:
org.tmapi.core.FeatureNotRecognizedException
-
setFeature
public void setFeature(String feature, boolean value) throws org.tmapi.core.FeatureNotSupportedException, org.tmapi.core.FeatureNotRecognizedException - Specified by:
setFeaturein classorg.tmapi.core.TopicMapSystemFactory- Throws:
org.tmapi.core.FeatureNotSupportedExceptionorg.tmapi.core.FeatureNotRecognizedException
-
getProperty
- Specified by:
getPropertyin classorg.tmapi.core.TopicMapSystemFactory
-
setProperty
-
setProperties
-
setProperty
- Specified by:
setPropertyin classorg.tmapi.core.TopicMapSystemFactory
-