net.ontopia.topicmaps.impl.tmapi2
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.
Method Summary |
boolean |
getFeature(java.lang.String feature)
|
java.lang.String |
getProperty(java.lang.String propname)
|
boolean |
hasFeature(java.lang.String feature)
|
org.tmapi.core.TopicMapSystem |
newTopicMapSystem()
Create a new TopicMapSystem instance based on the properties set so far. |
void |
setFeature(java.lang.String feature,
boolean value)
|
void |
setProperties(java.util.Properties properties)
|
void |
setProperty(java.lang.String key,
java.lang.Object val)
|
void |
setProperty(java.lang.String propname,
java.lang.String propval)
|
Methods inherited from class org.tmapi.core.TopicMapSystemFactory |
newInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STORE_PROPERTY
public final java.lang.String STORE_PROPERTY
- See Also:
- Constant Field Values
TopicMapSystemFactory
public TopicMapSystemFactory()
newTopicMapSystem
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:
- Specified by:
newTopicMapSystem
in class org.tmapi.core.TopicMapSystemFactory
- Throws:
org.tmapi.core.TMAPIException
hasFeature
public boolean hasFeature(java.lang.String feature)
- Specified by:
hasFeature
in class org.tmapi.core.TopicMapSystemFactory
getFeature
public boolean getFeature(java.lang.String feature)
throws org.tmapi.core.FeatureNotRecognizedException
- Specified by:
getFeature
in class org.tmapi.core.TopicMapSystemFactory
- Throws:
org.tmapi.core.FeatureNotRecognizedException
setFeature
public void setFeature(java.lang.String feature,
boolean value)
throws org.tmapi.core.FeatureNotSupportedException,
org.tmapi.core.FeatureNotRecognizedException
- Specified by:
setFeature
in class org.tmapi.core.TopicMapSystemFactory
- Throws:
org.tmapi.core.FeatureNotSupportedException
org.tmapi.core.FeatureNotRecognizedException
getProperty
public java.lang.String getProperty(java.lang.String propname)
- Specified by:
getProperty
in class org.tmapi.core.TopicMapSystemFactory
setProperty
public void setProperty(java.lang.String propname,
java.lang.String propval)
setProperties
public void setProperties(java.util.Properties properties)
setProperty
public void setProperty(java.lang.String key,
java.lang.Object val)
- Specified by:
setProperty
in class org.tmapi.core.TopicMapSystemFactory
Copyright © 2000-2012 Ontopia.