Package net.ontopia.topicmaps.entry
Class TopicMaps
java.lang.Object
net.ontopia.topicmaps.entry.TopicMaps
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 Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Map<String,TopicMapRepositoryIF> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TopicMapStoreIFcreateStore(String topicmapId, boolean readOnly) PUBLIC: Returns a new TopicMapStoreIF from the default repository.static TopicMapStoreIFcreateStore(String topicmapId, boolean readOnly, String repositoryId) PUBLIC: Returns a new TopicMapStoreIF from the given repository.static voidforget(TopicMapRepositoryIF repositoryIF) static TopicMapRepositoryIFPUBLIC: Returns the default topic maps repository.static TopicMapRepositoryIFgetRepository(String repositoryId) PUBLIC: Returns the default topic maps repository.static TopicMapRepositoryIFgetRepository(String repositoryId, Map<String, String> environ)
-
Field Details
-
DEFAULT_REPOSITORY
- See Also:
-
repositories
-
-
Constructor Details
-
TopicMaps
public TopicMaps()
-
-
Method Details
-
createStore
PUBLIC: Returns a new TopicMapStoreIF from the default repository. Remember to close the store once you're done with it. -
createStore
PUBLIC: Returns a new TopicMapStoreIF from the given repository. Remember to close the store once you're done with it. -
getRepository
PUBLIC: Returns the default topic maps repository. -
getRepository
PUBLIC: Returns the default topic maps repository. -
getRepository
-
forget
-