net.ontopia.topicmaps.entry
Class TopicMaps

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

public class TopicMaps
extends java.lang.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

Constructor Summary
TopicMaps()
           
 
Method Summary
static TopicMapStoreIF createStore(java.lang.String topicmapId, boolean readOnly)
          PUBLIC: Returns a new TopicMapStoreIF from the default repository.
static TopicMapStoreIF createStore(java.lang.String topicmapId, boolean readOnly, java.lang.String repositoryId)
          PUBLIC: Returns a new TopicMapStoreIF from the given repository.
static TopicMapRepositoryIF getRepository()
          PUBLIC: Returns the default topic maps repository.
static TopicMapRepositoryIF getRepository(java.lang.String repositoryId)
          PUBLIC: Returns the default topic maps repository.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopicMaps

public TopicMaps()
Method Detail

createStore

public static TopicMapStoreIF createStore(java.lang.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(java.lang.String topicmapId,
                                          boolean readOnly,
                                          java.lang.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(java.lang.String repositoryId)
PUBLIC: Returns the default topic maps repository.



Copyright © 2000-2010 Ontopia.