net.ontopia.topicmaps.impl.tmapi2
Class TopicMapSystemFactory

java.lang.Object
  extended by org.tmapi.core.TopicMapSystemFactory
      extended by net.ontopia.topicmaps.impl.tmapi2.TopicMapSystemFactory

public class TopicMapSystemFactory
extends org.tmapi.core.TopicMapSystemFactory

INTERNAL: OKS->TMAPI object wrapper.


Field Summary
 java.lang.String STORE_PROPERTY
           
 
Constructor Summary
TopicMapSystemFactory()
           
 
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
 

Field Detail

STORE_PROPERTY

public final java.lang.String STORE_PROPERTY
See Also:
Constant Field Values
Constructor Detail

TopicMapSystemFactory

public TopicMapSystemFactory()
Method Detail

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.