test_class.file: ontopia-engine/src/test/java/net/ontopia/topicmaps/impl/tmapi2/TopicMapSystemFactoryTest.java
test_class.identifier: TopicMapSystemFactoryTest
test_case.body: @Test
    public void testFactory() throws org.tmapi.core.TMAPIException {
      TopicMapSystemFactory tmsf = TopicMapSystemFactory.newInstance();
      Assert.assertTrue("TopicMapSystemFactory is not net.ontopia.topicmaps.impl.tmapi2.TopicMapSystemFactory", 
  	       tmsf instanceof net.ontopia.topicmaps.impl.tmapi2.TopicMapSystemFactory);
  
      TopicMapSystem ts = tmsf.newTopicMapSystem();
      Assert.assertTrue("TopicMapSystem is not net.ontopia.topicmaps.impl.tmapi2.TopicMapSystem", 
  	       ts instanceof net.ontopia.topicmaps.impl.tmapi2.MemoryTopicMapSystemImpl);
  
      ts.close();
    }
test_case.class_method_signature: TopicMapSystemFactoryTest.testFactory()
test_case.full_signature: @Test public void testFactory()
test_case.identifier: testFactory
test_case.invocations: newInstance assertTrue newTopicMapSystem assertTrue close
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFactory()
focal_class.declarator: properties = new Properties()
focal_class.modifier: protected
focal_class.original_string: protected Properties properties = new Properties();
focal_class.type: Properties
focal_class.var_name: properties
focal_class.declarator: features = new HashMap<String, Boolean>()
focal_class.modifier: protected
focal_class.original_string: protected Map<String, Boolean> features = new HashMap<String, Boolean>();
focal_class.type: Map<String, Boolean>
focal_class.var_name: features
focal_class.declarator: dfeatures = new Feature[] {
        new Feature("http://tmapi.org/features/notation/URI", true, true),
        new Feature("http://tmapi.org/features/model/xtm1.0", true, true),
        new Feature("http://tmapi.org/features/model/xtm1.1", true, false),
        new Feature("http://tmapi.org/features/automerge", true, false),
        new Feature("http://tmapi.org/features/merge/byTopicName", true, false),
        new Feature("http://tmapi.org/features/type-instance-associations", true, false),
        new Feature("http://tmapi.org/features/readOnly", true, false) }
focal_class.modifier: protected
focal_class.original_string: protected Feature[] dfeatures = new Feature[] {
        new Feature("http://tmapi.org/features/notation/URI", true, true),
        new Feature("http://tmapi.org/features/model/xtm1.0", true, true),
        new Feature("http://tmapi.org/features/model/xtm1.1", true, false),
        new Feature("http://tmapi.org/features/automerge", true, false),
        new Feature("http://tmapi.org/features/merge/byTopicName", true, false),
        new Feature("http://tmapi.org/features/type-instance-associations", true, false),
        new Feature("http://tmapi.org/features/readOnly", true, false) };
focal_class.type: Feature[]
focal_class.var_name: dfeatures
focal_class.declarator: STORE_PROPERTY = "net.ontopia.topicmaps.store"
focal_class.modifier: public final
focal_class.original_string: public final String STORE_PROPERTY = "net.ontopia.topicmaps.store";
focal_class.type: String
focal_class.var_name: STORE_PROPERTY
focal_class.file: ontopia-engine/src/main/java/net/ontopia/topicmaps/impl/tmapi2/TopicMapSystemFactory.java
focal_class.identifier: TopicMapSystemFactory
focal_class.class_method_signature: TopicMapSystemFactory.newTopicMapSystem()
focal_class.full_signature: @Override public TopicMapSystem newTopicMapSystem()
focal_class.identifier: newTopicMapSystem
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: TopicMapSystem
focal_class.signature: TopicMapSystem newTopicMapSystem()
focal_class.class_method_signature: TopicMapSystemFactory.hasFeature(String feature)
focal_class.full_signature: @Override public boolean hasFeature(String feature)
focal_class.identifier: hasFeature
focal_class.modifiers: @Override public
focal_class.parameters: (String feature)
focal_class.return: boolean
focal_class.signature: boolean hasFeature(String feature)
focal_class.class_method_signature: TopicMapSystemFactory.getFeature(String feature)
focal_class.full_signature: @Override public boolean getFeature(String feature)
focal_class.identifier: getFeature
focal_class.modifiers: @Override public
focal_class.parameters: (String feature)
focal_class.return: boolean
focal_class.signature: boolean getFeature(String feature)
focal_class.class_method_signature: TopicMapSystemFactory.setFeature(String feature, boolean value)
focal_class.full_signature: @Override public void setFeature(String feature, boolean value)
focal_class.identifier: setFeature
focal_class.modifiers: @Override public
focal_class.parameters: (String feature, boolean value)
focal_class.return: void
focal_class.signature: void setFeature(String feature, boolean value)
focal_class.class_method_signature: TopicMapSystemFactory.getProperty(String propname)
focal_class.full_signature: @Override public String getProperty(String propname)
focal_class.identifier: getProperty
focal_class.modifiers: @Override public
focal_class.parameters: (String propname)
focal_class.return: String
focal_class.signature: String getProperty(String propname)
focal_class.class_method_signature: TopicMapSystemFactory.setProperty(String propname, String propval)
focal_class.full_signature: public void setProperty(String propname, String propval)
focal_class.identifier: setProperty
focal_class.modifiers: public
focal_class.parameters: (String propname, String propval)
focal_class.return: void
focal_class.signature: void setProperty(String propname, String propval)
focal_class.class_method_signature: TopicMapSystemFactory.setProperties(Properties properties)
focal_class.full_signature: public void setProperties(Properties properties)
focal_class.identifier: setProperties
focal_class.modifiers: public
focal_class.parameters: (Properties properties)
focal_class.return: void
focal_class.signature: void setProperties(Properties properties)
focal_class.class_method_signature: TopicMapSystemFactory.setProperty(String key, Object val)
focal_class.full_signature: @Override public void setProperty(String key, Object val)
focal_class.identifier: setProperty
focal_class.modifiers: @Override public
focal_class.parameters: (String key, Object val)
focal_class.return: void
focal_class.signature: void setProperty(String key, Object val)
focal_class.superclass: extends org.tmapi.core.TopicMapSystemFactory
focal_method.body: @Override
    public TopicMapSystem newTopicMapSystem() throws TMAPIException {
      String store = properties.getProperty(STORE_PROPERTY);
      if (store != null && store.equalsIgnoreCase("rdbms") )
        return new RDBMSTopicMapSystemImpl(this);
      else 
        return new MemoryTopicMapSystemImpl(this);
    }
focal_method.class_method_signature: TopicMapSystemFactory.newTopicMapSystem()
focal_method.full_signature: @Override public TopicMapSystem newTopicMapSystem()
focal_method.identifier: newTopicMapSystem
focal_method.invocations: getProperty equalsIgnoreCase
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: TopicMapSystem
focal_method.signature: TopicMapSystem newTopicMapSystem()