tinyTiM is a lightweight, in-memory implementation of the Topic Maps API (TMAPI).
Properties
You can configure tinyTiM through some properties.
For convenience, the class org.tinytim.Property provides constants for tinyTiM-specific properties.
Please note, that these properties are tinyTiM-specific, other TMAPI compatible Topic Maps engines ignore them or may report failures.
CollectionFactory property
tinyTiM provides two collection factories. The collection factory is used to create instances of java.util.Map and java.util.Set.
If tinyTiM detects, that the Trove4J library is available, it utilizes that library. If Trove4J is not available, it uses a collection factory that utilizes the default Java collections.
As said, tinyTiM tries to detect the approbate collection factory, but you can configure the collection factory explicitly:
import org.tmapi.core.TopicMapSystemFactory;
import org.tmapi.core.TopicMapSystem;
TopicMapSystemFactory tmSysFactory = TopicMapSystemFactory.newInstance();
// Sets the collection factory to the Java implementation even if Trove4J is available
tmSysFactory.setProperty("org.tinytim.CollectionFactory", "org.tinytim.JavaCollectionFactory");
TopicMapSystem tmSys = tmSysFactory.newTopicMapSystem();
Product's homepage
Requirements:
· TMAPI
· Java Runtime Environment (JRE) 1.5 or later
What's New in This Release: [ read full changelog ]
· Two bugs have been fixed. Valid decimal literals (xsd:decimal) were not accepted and locators (xsd:anyURI) were created twice. The latter affected the integrity of the Topic Maps engine seriously.