public class TopicMapSystemFactory
extends org.tmapi.core.TopicMapSystemFactory
| Modifier and Type | Field and Description |
|---|---|
protected net.ontopia.topicmaps.impl.tmapi2.Feature[] |
dfeatures |
protected Map<String,Boolean> |
features |
protected Properties |
properties |
String |
STORE_PROPERTY |
| Constructor and Description |
|---|
TopicMapSystemFactory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getFeature(String feature) |
String |
getProperty(String propname) |
boolean |
hasFeature(String feature) |
org.tmapi.core.TopicMapSystem |
newTopicMapSystem()
Create a new TopicMapSystem instance based on the properties set so far.
|
void |
setFeature(String feature,
boolean value) |
void |
setProperties(Properties properties) |
void |
setProperty(String key,
Object val) |
void |
setProperty(String propname,
String propval) |
protected Properties properties
protected net.ontopia.topicmaps.impl.tmapi2.Feature[] dfeatures
public final String STORE_PROPERTY
public org.tmapi.core.TopicMapSystem newTopicMapSystem()
throws org.tmapi.core.TMAPIException
Create 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:
newTopicMapSystem in class org.tmapi.core.TopicMapSystemFactoryorg.tmapi.core.TMAPIExceptionpublic boolean hasFeature(String feature)
hasFeature in class org.tmapi.core.TopicMapSystemFactorypublic boolean getFeature(String feature) throws org.tmapi.core.FeatureNotRecognizedException
getFeature in class org.tmapi.core.TopicMapSystemFactoryorg.tmapi.core.FeatureNotRecognizedExceptionpublic void setFeature(String feature, boolean value) throws org.tmapi.core.FeatureNotSupportedException, org.tmapi.core.FeatureNotRecognizedException
setFeature in class org.tmapi.core.TopicMapSystemFactoryorg.tmapi.core.FeatureNotSupportedExceptionorg.tmapi.core.FeatureNotRecognizedExceptionpublic String getProperty(String propname)
getProperty in class org.tmapi.core.TopicMapSystemFactorypublic void setProperties(Properties properties)