Class TopicMaps

java.lang.Object
net.ontopia.topicmaps.entry.TopicMaps

public class TopicMaps extends Object
PUBLIC: The primary access point to your topic maps. The topic map repository definition will be loaded from the CLASSPATH. The default topic map repository will be loaded from the resource 'tm-sources.xml'.
Since:
3.4
  • Field Details

  • Constructor Details

    • TopicMaps

      public TopicMaps()
  • Method Details

    • createStore

      public static TopicMapStoreIF createStore(String topicmapId, boolean readOnly)
      PUBLIC: Returns a new TopicMapStoreIF from the default repository. Remember to close the store once you're done with it.
    • createStore

      public static TopicMapStoreIF createStore(String topicmapId, boolean readOnly, String repositoryId)
      PUBLIC: Returns a new TopicMapStoreIF from the given repository. Remember to close the store once you're done with it.
    • getRepository

      public static TopicMapRepositoryIF getRepository()
      PUBLIC: Returns the default topic maps repository.
    • getRepository

      public static TopicMapRepositoryIF getRepository(String repositoryId)
      PUBLIC: Returns the default topic maps repository.
    • getRepository

      public static TopicMapRepositoryIF getRepository(String repositoryId, Map<String,String> environ)
    • forget

      public static void forget(TopicMapRepositoryIF repositoryIF)